Gentoo Archives: gentoo-commits

From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/afc/
Date: Fri, 26 Aug 2022 14:28:18
Message-Id: 1661524035.9d7d7550f7ddad09faaa0f8c00a8ddd6771794a8.freyermuth@gentoo
1 commit: 9d7d7550f7ddad09faaa0f8c00a8ddd6771794a8
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Fri Aug 26 14:27:15 2022 +0000
4 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
5 CommitDate: Fri Aug 26 14:27:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d7d7550
7
8 app-misc/afc: Reduce superfluous ebuild complexity.
9
10 Thanks @thesamesam for the helpful comments!
11
12 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
13
14 app-misc/afc/afc-1.1.ebuild | 4 +---
15 app-misc/afc/afc-9999.ebuild | 4 +---
16 2 files changed, 2 insertions(+), 6 deletions(-)
17
18 diff --git a/app-misc/afc/afc-1.1.ebuild b/app-misc/afc/afc-1.1.ebuild
19 index 8dd4cc7ce..24d89f614 100644
20 --- a/app-misc/afc/afc-1.1.ebuild
21 +++ b/app-misc/afc/afc-1.1.ebuild
22 @@ -12,13 +12,11 @@ if [[ ${PV} == *9999* ]]; then
23 inherit git-r3
24 EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
25 else
26 - SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
27 + SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
28 KEYWORDS="~amd64 ~x86"
29 - S="${WORKDIR}/${PN}-${PV}"
30 fi
31
32 LICENSE="GPL-3+"
33 SLOT="0"
34 -IUSE=""
35
36 DEPEND="sys-libs/zlib"
37
38 diff --git a/app-misc/afc/afc-9999.ebuild b/app-misc/afc/afc-9999.ebuild
39 index 8dd4cc7ce..24d89f614 100644
40 --- a/app-misc/afc/afc-9999.ebuild
41 +++ b/app-misc/afc/afc-9999.ebuild
42 @@ -12,13 +12,11 @@ if [[ ${PV} == *9999* ]]; then
43 inherit git-r3
44 EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
45 else
46 - SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> ${PN}-${PV}.tar.gz"
47 + SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 KEYWORDS="~amd64 ~x86"
49 - S="${WORKDIR}/${PN}-${PV}"
50 fi
51
52 LICENSE="GPL-3+"
53 SLOT="0"
54 -IUSE=""
55
56 DEPEND="sys-libs/zlib"