milis/talimatname/genel/w/wps-office/talimat

50 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: WPS Office Türkçe
# URL: http://wps-community.org/
# Paketçi: Cihan Alkan
# Gerekler: libpng12 xorg-fontconfig pango libxml2 xorg-libsm xorg-libxext xorg-libxrender xorg-glu
2018-07-26 09:10:35 +02:00
# Grup: ofis
2018-06-09 00:06:58 +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
WEBDINGS.ttf
WINGDNG2.ttf
WINGDNG3.ttf
symbol.ttf
mtextra.ttf
wingding.ttf)
derle() {
#cd wps-office_${_version}_x86_64
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
install -Dm644 office6/mui/default/EULA.txt $PKG/usr/share/licenses/$isim/EULA.txt
}