Skip to content

Commit

Permalink
sys-fs/squashfs-tools-ng: Simplified ebuilds a bit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars Wendler authored and mattst88 committed Jul 23, 2019
1 parent 4a75510 commit 810fc7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions sys-fs/squashfs-tools-ng/squashfs-tools-ng-0.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -30,11 +29,6 @@ DEPEND="
"
RDEPEND="${DEPEND}"

src_unpack() {
default
[[ $PV = 9999* ]] && git-r3_src_unpack
}

src_prepare() {
default
[[ ${PV} == "9999" ]] && eautoreconf
Expand Down
10 changes: 2 additions & 8 deletions sys-fs/squashfs-tools-ng/squashfs-tools-ng-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -30,11 +29,6 @@ DEPEND="
"
RDEPEND="${DEPEND}"

src_unpack() {
default
[[ $PV = 9999* ]] && git-r3_src_unpack
}

src_prepare() {
default
[[ ${PV} == "9999" ]] && eautoreconf
Expand Down

0 comments on commit 810fc7b

Please sign in to comment.