commit:     74fec18164a2e8e534f86d95ff469bb743ba93fc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 20:45:55 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  6 21:55:14 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74fec181

[QA] net-misc/icaclient: Fix global scope use calls, #566544

 net-misc/icaclient/icaclient-13.2.0.322243.ebuild | 18 +++++++++++-------
 net-misc/icaclient/icaclient-13.2.1.328635.ebuild | 18 +++++++++++-------
 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 2727de7..1d48d2a 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 8175699..ed5a5ae 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}"
 

Reply via email to