commit:     9d7d7550f7ddad09faaa0f8c00a8ddd6771794a8
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Fri Aug 26 14:27:15 2022 +0000
Commit:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Fri Aug 26 14:27:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d7d7550

app-misc/afc: Reduce superfluous ebuild complexity.

Thanks @thesamesam for the helpful comments!

Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 app-misc/afc/afc-1.1.ebuild  | 4 +---
 app-misc/afc/afc-9999.ebuild | 4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-misc/afc/afc-1.1.ebuild b/app-misc/afc/afc-1.1.ebuild
index 8dd4cc7ce..24d89f614 100644
--- a/app-misc/afc/afc-1.1.ebuild
+++ b/app-misc/afc/afc-1.1.ebuild
@@ -12,13 +12,11 @@ if [[ ${PV} == *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/olifre/${PN}.git";
 else
-       SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> 
${PN}-${PV}.tar.gz"
+       SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~x86"
-       S="${WORKDIR}/${PN}-${PV}"
 fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE=""
 
 DEPEND="sys-libs/zlib"

diff --git a/app-misc/afc/afc-9999.ebuild b/app-misc/afc/afc-9999.ebuild
index 8dd4cc7ce..24d89f614 100644
--- a/app-misc/afc/afc-9999.ebuild
+++ b/app-misc/afc/afc-9999.ebuild
@@ -12,13 +12,11 @@ if [[ ${PV} == *9999* ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/olifre/${PN}.git";
 else
-       SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> 
${PN}-${PV}.tar.gz"
+       SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~x86"
-       S="${WORKDIR}/${PN}-${PV}"
 fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-IUSE=""
 
 DEPEND="sys-libs/zlib"

Reply via email to