2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: WPS Office Türkçe
|
2017-06-27 10:25:46 +02:00
|
|
|
|
# URL: http://wps-community.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: Cihan Alkan
|
|
|
|
|
# Gerekler: libpng12 xorg-fontconfig pango libxml2 xorg-libsm xorg-libxext xorg-libxrender xorg-glu
|
2017-06-27 10:25:46 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=wps-office
|
|
|
|
|
surum=10.1.0.5707
|
|
|
|
|
_surum=10.1.0.5707~a21
|
|
|
|
|
devir=2
|
|
|
|
|
kaynak=(https://sourceforge.net/projects/mebis/files/Programlar/wps-office-$surum-x86_64.tar.xz
|
2017-06-27 10:25:46 +02:00
|
|
|
|
WEBDINGS.ttf
|
|
|
|
|
WINGDNG2.ttf
|
|
|
|
|
WINGDNG3.ttf
|
|
|
|
|
symbol.ttf
|
|
|
|
|
mtextra.ttf
|
|
|
|
|
wingding.ttf)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-06-27 13:50:54 +02:00
|
|
|
|
#cd wps-office_${_version}_x86_64
|
2017-06-27 10:25:46 +02:00
|
|
|
|
sed -i 's|/opt/kingsoft/wps-office|/usr/lib|' wps wpp et
|
|
|
|
|
sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wps
|
|
|
|
|
sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wpp et
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -d $PKG/usr/lib
|
|
|
|
|
cp -r office6 $PKG/usr/lib
|
|
|
|
|
|
|
|
|
|
install -d $PKG/usr/bin
|
|
|
|
|
install -m755 wps wpp et $PKG/usr/bin
|
|
|
|
|
|
|
|
|
|
install -d $PKG/usr/share/applications
|
|
|
|
|
cp -r resource/applications/* $PKG/usr/share/applications
|
|
|
|
|
|
|
|
|
|
install -d $PKG/usr/share/icons
|
|
|
|
|
cp -r resource/icons/* $PKG/usr/share/icons
|
|
|
|
|
|
|
|
|
|
install -d $PKG/usr/share/mime
|
|
|
|
|
cp -r resource/mime/* $PKG/usr/share/mime
|
|
|
|
|
|
|
|
|
|
#cp -r $SRC/usr/share $PKG/usr/
|
|
|
|
|
|
|
|
|
|
install -d $PKG/usr/share/fonts/wps-office
|
|
|
|
|
cp -r fonts/* $PKG/usr/share/fonts/wps-office
|
|
|
|
|
cp -r $SRC/*.ttf $PKG/usr/share/fonts/wps-office
|
|
|
|
|
|
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -Dm644 office6/mui/default/EULA.txt $PKG/usr/share/licenses/$isim/EULA.txt
|
2017-06-27 10:25:46 +02:00
|
|
|
|
}
|