summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-07-23 10:03:06 +0200
committerMatt Turner <mattst88@gentoo.org>2019-07-23 14:44:35 -0700
commit810fc7b7e33434e249d847c126e0db58091e2ea1 (patch)
treecfa3e2d7d958b36a7f569513cc2dbaaf8d964b61 /sys-fs/squashfs-tools-ng
parentpackage.mask: clean up obsolete masks (diff)
downloadgentoo-810fc7b7e33434e249d847c126e0db58091e2ea1.tar.gz
gentoo-810fc7b7e33434e249d847c126e0db58091e2ea1.tar.bz2
gentoo-810fc7b7e33434e249d847c126e0db58091e2ea1.zip
sys-fs/squashfs-tools-ng: Simplified ebuilds a bit
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-fs/squashfs-tools-ng')
-rw-r--r--sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.4.2.ebuild10
-rw-r--r--sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild10
2 files changed, 4 insertions, 16 deletions
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