mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
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:
@@ -12,13 +12,11 @@ if [[ ${PV} == *9999* ]]; then
|
|||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
|
EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
|
||||||
else
|
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"
|
KEYWORDS="~amd64 ~x86"
|
||||||
S="${WORKDIR}/${PN}-${PV}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
LICENSE="GPL-3+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="sys-libs/zlib"
|
DEPEND="sys-libs/zlib"
|
||||||
|
|||||||
@@ -12,13 +12,11 @@ if [[ ${PV} == *9999* ]]; then
|
|||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
|
EGIT_REPO_URI="https://github.com/olifre/${PN}.git"
|
||||||
else
|
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"
|
KEYWORDS="~amd64 ~x86"
|
||||||
S="${WORKDIR}/${PN}-${PV}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
LICENSE="GPL-3+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="sys-libs/zlib"
|
DEPEND="sys-libs/zlib"
|
||||||
|
|||||||
Reference in New Issue
Block a user