wps-office: update to 11.1.0.9711.

This commit is contained in:
mobinmob 2020-10-24 16:46:55 +03:00 committed by Érico Nogueira Rolim
parent 647859da07
commit 52514799a0

View file

@ -1,6 +1,6 @@
# Template file for 'wps-office'
pkgname=wps-office
version=11.1.0.9662
version=11.1.0.9711
revision=1
archs="x86_64"
create_wrksrc=yes
@ -10,11 +10,11 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
#The old Kingsoft WPS Community License has disappeared from the
#site. There is an EULA in the archive which is instaled as license
#and a non-downloadable EULA which is accesible from inside the program:
#https://www.wps.com/eula?distsrc=2020help&lang=en_US&version=11.1.0.9662
#https://www.wps.com/eula?distsrc=2020help&lang=en_US&version=11.1.0.9711
license="custom:EULA"
homepage="http://wps-community.org"
changelog="http://linux.wps.com/wpslinuxlog.html"
checksum=3a22598c26e639d822db62282931b849943c9ccec559d69c57a412a81f52def8
checksum=1ef84ce764d1c8c96881d35994bc155037d0297038f0f0c6cf55972d84e1cbcd
allow_unknown_shlibs=yes
nodebug=yes
restricted=yes
@ -23,7 +23,7 @@ restricted=yes
#The programs themselves are PIE, but the error reporter isn't :/
nopie=yes
_disturl=http://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/9662/
_disturl=http://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/9711/
_distTar="${pkgname}-${version}.XA-1.x86_64.rpm"
distfiles="${_disturl}/${_distTar}"
@ -44,8 +44,11 @@ post_install() {
rm -rf ${DESTDIR}/opt/kingsoft/wps-office/INSTALL
# Install license
vlicense ${DESTDIR}/opt/kingsoft/wps-office/office6/mui/default/EULA_linux.txt
vlicense ${DESTDIR}/opt/kingsoft/wps-office/office6/mui/default/EULA_linux.html
# Install privacy notice as documentation
vdoc ${DESTDIR}/opt/kingsoft/wps-office/office6/mui/default/Privacy_Linux.txt
vdoc ${DESTDIR}/opt/kingsoft/wps-office/office6/mui/default/Privacy_Linux.html
# Install third-party licenses
vlicense ${DESTDIR}/opt/kingsoft/wps-office/office6/thirdpartylegalnotices.txt
}