Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/icaclient/
Date: Sun, 06 Dec 2015 21:55:33
Message-Id: 1449438914.74fec18164a2e8e534f86d95ff469bb743ba93fc.mgorny@gentoo
1 commit: 74fec18164a2e8e534f86d95ff469bb743ba93fc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 6 20:45:55 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 6 21:55:14 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74fec181
7
8 [QA] net-misc/icaclient: Fix global scope use calls, #566544
9
10 net-misc/icaclient/icaclient-13.2.0.322243.ebuild | 18 +++++++++++-------
11 net-misc/icaclient/icaclient-13.2.1.328635.ebuild | 18 +++++++++++-------
12 2 files changed, 22 insertions(+), 14 deletions(-)
13
14 diff --git a/net-misc/icaclient/icaclient-13.2.0.322243.ebuild b/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
15 index 2727de7..1d48d2a 100644
16 --- a/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
17 +++ b/net-misc/icaclient/icaclient-13.2.0.322243.ebuild
18 @@ -54,19 +54,23 @@ RDEPEND="dev-libs/atk
19 x11-terms/xterm"
20 DEPEND=""
21
22 -if use amd64 ; then
23 - ICAARCH=linuxx64
24 -elif use x86 ; then
25 - ICAARCH=linuxx86
26 -fi
27 -S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
28 -
29 pkg_nofetch() {
30 elog "Download the client file ${A} from
31 http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-13-2.html"
32 elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
33 }
34
35 +src_unpack() {
36 + default
37 +
38 + if use amd64 ; then
39 + ICAARCH=linuxx64
40 + elif use x86 ; then
41 + ICAARCH=linuxx86
42 + fi
43 + S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
44 +}
45 +
46 src_install() {
47 dodir "${ICAROOT}"
48
49
50 diff --git a/net-misc/icaclient/icaclient-13.2.1.328635.ebuild b/net-misc/icaclient/icaclient-13.2.1.328635.ebuild
51 index 8175699..ed5a5ae 100644
52 --- a/net-misc/icaclient/icaclient-13.2.1.328635.ebuild
53 +++ b/net-misc/icaclient/icaclient-13.2.1.328635.ebuild
54 @@ -54,19 +54,23 @@ RDEPEND="dev-libs/atk
55 x11-terms/xterm"
56 DEPEND=""
57
58 -if use amd64 ; then
59 - ICAARCH=linuxx64
60 -elif use x86 ; then
61 - ICAARCH=linuxx86
62 -fi
63 -S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
64 -
65 pkg_nofetch() {
66 elog "Download the client file ${A} from
67 http://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-1321.html"
68 elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
69 }
70
71 +src_unpack() {
72 + default
73 +
74 + if use amd64 ; then
75 + ICAARCH=linuxx64
76 + elif use x86 ; then
77 + ICAARCH=linuxx86
78 + fi
79 + S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor"
80 +}
81 +
82 src_install() {
83 dodir "${ICAROOT}"