From 650f5dcaa0791647b05c90782a1b1e409bdbf4d6 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Thu, 9 Jan 2020 22:06:40 +0200 Subject: [PATCH] wps-office: update to 11.1.0.9080. --- srcpkgs/wps-office/template | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/srcpkgs/wps-office/template b/srcpkgs/wps-office/template index 549c488e0ed..2e8ffb6dd51 100644 --- a/srcpkgs/wps-office/template +++ b/srcpkgs/wps-office/template @@ -1,29 +1,31 @@ # Template file for 'wps-office' pkgname=wps-office -version=11.1.0.8865 +version=11.1.0.9080 revision=1 archs="x86_64" create_wrksrc=yes makedepends="rpmextract" short_desc="Linux office suite with similar appearance to MS Office" maintainer="Michael Aldridge " -license="custom:Kingsoft WPS Community License, custom:EULA" +#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=2019help&lang=en_US&version=11.1.0.9080 +license="custom:EULA" homepage="http://wps-community.org" -checksum="2b7d51dd56516fc5c89a9d4d145e4e201334b000f841d0520e33b0c4a199efe3 - bd8e8a2f7142710bd3a86e2a978d6371e304dc1cbcf0712d94f21551647bb748" +changelog="http://linux.wps.com/wpslinuxlog.html" +checksum="8ccb3ea634e5e6b7f10753f792104900507e6d7e67988d5b259bbc9fb6952ee3" allow_unknown_shlibs=yes nodebug=yes restricted=yes -skip_extraction="LICENSE_AGREEMENT_OF_KINGSOFT_OFFICE_FOR_LINUX_COMMUNITY.wps" #The programs themselves are PIE, but the error reporter isn't :/ nopie=yes -_disturl=http://kdl.cc.ksosoft.com/wps-community/download/8865 -_distTar="${pkgname}-${version}-1.x86_64.rpm" -distfiles="${_disturl}/${_distTar} -http://wps-community.org/download/licenses/LICENSE_AGREEMENT_OF_KINGSOFT_OFFICE_FOR_LINUX_COMMUNITY.wps" +_disturl=http://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/9080/ +_distTar="${pkgname}-${version}.XA-1.x86_64.rpm" +distfiles="${_disturl}/${_distTar}" do_install() { @@ -41,8 +43,7 @@ post_install() { #Delete postinst and prerm scripts rm -rf ${DESTDIR}/opt/kingsoft/wps-office/INSTALL - # Install license and EULA - vlicense ${XBPS_SRCDISTDIR}/$pkgname-$version/LICENSE_AGREEMENT_OF_KINGSOFT_OFFICE_FOR_LINUX_COMMUNITY.wps + # Install license vlicense ${DESTDIR}/opt/kingsoft/wps-office/office6/mui/default/EULA_linux.txt # Install privacy notice as documentation