app-misc/afc: Reduce superfluous ebuild complexity.

Thanks @thesamesam for the helpful comments!

Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
Oliver Freyermuth
2022-08-26 16:27:15 +02:00
parent 25939d21a0
commit 9d7d7550f7
2 changed files with 2 additions and 6 deletions

View File

@@ -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"

View File

@@ -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"