wps-office: update to 10.1.0.6757
This commit is contained in:
parent
0531ba6f1d
commit
a7227a32ce
1 changed files with 6 additions and 16 deletions
|
@ -1,10 +1,6 @@
|
|||
# Template file for 'wps-office'
|
||||
_numericVersion=10.1.0.5707
|
||||
_releaseIncrement=a21
|
||||
_patchLevel=
|
||||
|
||||
pkgname=wps-office
|
||||
version=${_numericVersion}${_releaseIncrement}
|
||||
version=10.1.0.6757
|
||||
revision=1
|
||||
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
|
||||
homepage="http://wps-community.org"
|
||||
|
@ -18,18 +14,18 @@ restricted=yes
|
|||
#The programs themselves are PIE, but the error reporter isn't :/
|
||||
nopie=yes
|
||||
|
||||
_disturl="http://kdl.cc.ksosoft.com/ksodl/download/linux/${_releaseIncrement}"
|
||||
_disturl=http://kdl.cc.ksosoft.com/wps-community/download/6757
|
||||
|
||||
only_for_archs="i686 x86_64"
|
||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
_arch=x86_64
|
||||
checksum=aa875a06e7eef79a30d6e5a4bd03f08eeb1524013edd59122d95a20b1638d9c5
|
||||
checksum=0280d3e5a3b0c524f54076db6a904a6fee68b19075f6b879b5d2473622d4627e
|
||||
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||
_arch=x86
|
||||
checksum=3478f88794b4e473357c1b2b4514b6ddf41bc1aac6e018dfeac637aaac7a021f
|
||||
checksum=d291a63ae39e6ac5d4569db3ab58e9888ddab116f000c406f174bc7fccb86985
|
||||
fi
|
||||
|
||||
_distTar="${pkgname}_${_numericVersion}~${_releaseIncrement}${_patchLevel}_${_arch}.tar.xz"
|
||||
_distTar="${pkgname}_${version}_${_arch}.tar.xz"
|
||||
distfiles="${_disturl}/${_distTar}"
|
||||
|
||||
do_extract() {
|
||||
|
@ -41,7 +37,6 @@ do_install() {
|
|||
# Install the wps-office suites
|
||||
vmkdir usr/bin
|
||||
vmkdir usr/share
|
||||
vmkdir usr/lib
|
||||
|
||||
_programs="wps wpp et"
|
||||
for prog in ${_programs}; do
|
||||
|
@ -49,12 +44,7 @@ do_install() {
|
|||
done
|
||||
mv ${DESTDIR}/opt/kingsoft/wps-office/resource/* ${DESTDIR}/usr/share/
|
||||
|
||||
#Fonts
|
||||
vmkdir usr/share/fonts/TTF
|
||||
install -m644 ${DESTDIR}/opt/kingsoft/wps-office/fonts/*.TTF ${DESTDIR}/usr/share/fonts/TTF
|
||||
|
||||
#Clean up some things
|
||||
rm ${DESTDIR}/opt/kingsoft/wps-office/README.txt
|
||||
rm -rf ${DESTDIR}/opt/kingsoft/wps-office/font*
|
||||
rm ${DESTDIR}/opt/kingsoft/wps-office/install_fonts
|
||||
rm -rf ${DESTDIR}/opt/kingsoft/wps-office/resource
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue