diff --git a/srcpkgs/wps-office/template b/srcpkgs/wps-office/template index 0d12637235c..20d9be38be1 100644 --- a/srcpkgs/wps-office/template +++ b/srcpkgs/wps-office/template @@ -1,7 +1,8 @@ # Template file for 'wps-office' pkgname=wps-office -version=11.1.0.8392 +version=11.1.0.8722 revision=1 +archs="x86_64" create_wrksrc=yes makedepends="rpmextract" short_desc="Linux office suite with similar appearance to MS Office" @@ -9,6 +10,7 @@ maintainer="Michael Aldridge " license="Kingsoft WPS Community License" #Full license is at: http://wps-community.org/license.md (Not downloadable) homepage="http://wps-community.org" +checksum=e898a1edcb53bc7c0bd3361e225c8475fc84d54d937eea53e7ef030f12a1345e allow_unknown_shlibs=yes nodebug=yes restricted=yes @@ -16,18 +18,8 @@ restricted=yes #The programs themselves are PIE, but the error reporter isn't :/ nopie=yes -_disturl=http://kdl.cc.ksosoft.com/wps-community/download/8392 - -archs="i686 x86_64" -if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then - _arch=x86_64 - checksum=0a798077441c5b7a2130d65c7dd649373176edcaa094117d03c3de81c16d75b4 -elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then - _arch=i686 - checksum=74ed9e642d34da8bc93212dbf866071cad52c4bd4563622322ec2116278a362a -fi - -_distTar="${pkgname}-${version}-1.${_arch}.rpm" +_disturl=http://kdl.cc.ksosoft.com/wps-community/download/8722 +_distTar="${pkgname}-${version}-1.x86_64.rpm" distfiles="${_disturl}/${_distTar}" do_install() {