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

49 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
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
}