From 810fc7b7e33434e249d847c126e0db58091e2ea1 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 23 Jul 2019 10:03:06 +0200 Subject: sys-fs/squashfs-tools-ng: Simplified ebuilds a bit Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler Signed-off-by: Matt Turner --- sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.4.2.ebuild | 10 ++-------- sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.4.2.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.4.2.ebuild index 88b9fdc8179c..a57e5398eef3 100644 --- a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.4.2.ebuild +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.4.2.ebuild @@ -3,13 +3,12 @@ EAPI=7 -EGIT_REPO_URI="https://github.com/AgentD/${PN}.git" -[[ ${PV} == 9999* ]] && inherit autotools git-r3 DESCRIPTION="A new set of tools for working with SquashFS images" HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng" if [[ ${PV} = 9999* ]]; then - SRC_URI="" + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/AgentD/${PN}.git" else KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64" SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz" @@ -30,11 +29,6 @@ DEPEND=" " RDEPEND="${DEPEND}" -src_unpack() { - default - [[ $PV = 9999* ]] && git-r3_src_unpack -} - src_prepare() { default [[ ${PV} == "9999" ]] && eautoreconf diff --git a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild index 88b9fdc8179c..a57e5398eef3 100644 --- a/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild +++ b/sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild @@ -3,13 +3,12 @@ EAPI=7 -EGIT_REPO_URI="https://github.com/AgentD/${PN}.git" -[[ ${PV} == 9999* ]] && inherit autotools git-r3 DESCRIPTION="A new set of tools for working with SquashFS images" HOMEPAGE="https://github.com/AgentD/squashfs-tools-ng" if [[ ${PV} = 9999* ]]; then - SRC_URI="" + inherit autotools git-r3 + EGIT_REPO_URI="https://github.com/AgentD/${PN}.git" else KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64" SRC_URI="https://infraroot.at/pub/squashfs/${P}.tar.xz" @@ -30,11 +29,6 @@ DEPEND=" " RDEPEND="${DEPEND}" -src_unpack() { - default - [[ $PV = 9999* ]] && git-r3_src_unpack -} - src_prepare() { default [[ ${PV} == "9999" ]] && eautoreconf -- cgit v1.2.3-65-gdbad