summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-08-01 10:33:07 +0200
committerPacho Ramos <pacho@gentoo.org>2024-08-01 10:34:41 +0200
commitfebd237c2810aa6cf7b04d38912fa9a0012c8183 (patch)
tree62afab31b198f7aa2377f4bd13c54f1d2ac00909
parentapp-office/wps-office: add 11.1.0.11723 (diff)
downloadgentoo-febd237c2810aa6cf7b04d38912fa9a0012c8183.tar.gz
gentoo-febd237c2810aa6cf7b04d38912fa9a0012c8183.tar.bz2
gentoo-febd237c2810aa6cf7b04d38912fa9a0012c8183.zip
app-office/wps-office: fix VariableOrderWrong warning
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
-rw-r--r--app-office/wps-office/wps-office-11.1.0.11723.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/app-office/wps-office/wps-office-11.1.0.11723.ebuild b/app-office/wps-office/wps-office-11.1.0.11723.ebuild
index 33b32f57c40b..7a2709c726d1 100644
--- a/app-office/wps-office/wps-office-11.1.0.11723.ebuild
+++ b/app-office/wps-office/wps-office-11.1.0.11723.ebuild
@@ -8,18 +8,17 @@ MY_PV="$(ver_cut 4)"
DESCRIPTION="WPS Office is an office productivity suite"
HOMEPAGE="https://www.wps.com/office/linux/"
+SRC_URI="amd64? ( https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/${MY_PV}/${PN}_${PV}.XA_amd64.deb )"
+S="${WORKDIR}"
-KEYWORDS="~amd64"
+LICENSE="WPS-EULA"
+SLOT="0"
-SRC_URI="
- amd64? ( https://wdl1.pcfg.cache.wpscdn.com/wpsdl/wpsoffice/download/linux/${MY_PV}/${PN}_${PV}.XA_amd64.deb )
-"
+KEYWORDS="~amd64"
+IUSE="systemd"
-SLOT="0"
RESTRICT="bindist strip mirror" # mirror as explained at bug #547372
QA_PREBUILT="*"
-LICENSE="WPS-EULA"
-IUSE="systemd"
# Deps got from this (listed in order):
# rpm -qpR wps-office-10.1.0.5707-1.a21.x86_64.rpm
@@ -66,8 +65,6 @@ RDEPEND="
systemd? ( sys-apps/systemd )
"
-S="${WORKDIR}"
-
src_install() {
# https://bugs.gentoo.org/878451
rm "${S}"/opt/kingsoft/wps-office/office6/libstdc++.so* || die