summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-12-06 21:45:55 +0100
committerMichał Górny <mgorny@gentoo.org>2015-12-06 22:55:14 +0100
commit74fec18164a2e8e534f86d95ff469bb743ba93fc (patch)
treefbbcb0bfa503a1c1996fd4e35d217ee86dbbbd5d /net-misc/icaclient
parent[QA] dev-java/hp-jdk-bin: Fix global scope use calls, #566530 (diff)
downloadgentoo-74fec18164a2e8e534f86d95ff469bb743ba93fc.tar.gz
gentoo-74fec18164a2e8e534f86d95ff469bb743ba93fc.tar.bz2
gentoo-74fec18164a2e8e534f86d95ff469bb743ba93fc.zip
[QA] net-misc/icaclient: Fix global scope use calls, #566544
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r--net-misc/icaclient/icaclient-13.2.0.322243.ebuild18
-rw-r--r--net-misc/icaclient/icaclient-13.2.1.328635.ebuild18
2 files changed, 22 insertions, 14 deletions
diff --git a/net-misc/icaclient/icaclient-13.2.0.322243.ebuild b/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
index 2727de733eeb..1d48d2a0700a 100644
--- a/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
+++ b/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
@@ -54,19 +54,23 @@ RDEPEND="dev-libs/atk
x11-terms/xterm"
DEPEND=""
-if use amd64 ; then
- ICAARCH=linuxx64
-elif use x86 ; then
- ICAARCH=linuxx86
-fi
-S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
-
pkg_nofetch() {
elog "Download the client file ${A} from
http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-13-2.html"
elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
}
+src_unpack() {
+ default
+
+ if use amd64 ; then
+ ICAARCH=linuxx64
+ elif use x86 ; then
+ ICAARCH=linuxx86
+ fi
+ S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
+}
+
src_install() {
dodir "${ICAROOT}"
diff --git a/net-misc/icaclient/icaclient-13.2.1.328635.ebuild b/net-misc/icaclient/icaclient-13.2.1.328635.ebuild
index 8175699fd0de..ed5a5aea95ac 100644
--- a/net-misc/icaclient/icaclient-13.2.1.328635.ebuild
+++ b/net-misc/icaclient/icaclient-13.2.1.328635.ebuild
@@ -54,19 +54,23 @@ RDEPEND="dev-libs/atk
x11-terms/xterm"
DEPEND=""
-if use amd64 ; then
- ICAARCH=linuxx64
-elif use x86 ; then
- ICAARCH=linuxx86
-fi
-S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
-
pkg_nofetch() {
elog "Download the client file ${A} from
http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-1321.html"
elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
}
+src_unpack() {
+ default
+
+ if use amd64 ; then
+ ICAARCH=linuxx64
+ elif use x86 ; then
+ ICAARCH=linuxx86
+ fi
+ S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
+}
+
src_install() {
dodir "${ICAROOT}"