diff options
author | Mike Frysinger <vapier@gentoo.org> | 2017-02-16 18:16:06 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-02-16 18:44:49 -0500 |
commit | 9f0cd16cde9c14a818362307bcb6fcced4528a15 (patch) | |
tree | 1ed0a30c712ad4aaa216e736944a38b7c1f2c609 /app-arch/pixz | |
parent | app-arch/pixz: switch to release tarballs (diff) | |
download | gentoo-9f0cd16cde9c14a818362307bcb6fcced4528a15.tar.gz gentoo-9f0cd16cde9c14a818362307bcb6fcced4528a15.tar.bz2 gentoo-9f0cd16cde9c14a818362307bcb6fcced4528a15.zip |
app-arch/pixz: clean up style a bit
Make the ebuild look more like other ebuilds by moving the
KEYWORDS/SRC_URI settings up to the top.
Diffstat (limited to 'app-arch/pixz')
-rw-r--r-- | app-arch/pixz/pixz-1.0.6.ebuild | 23 | ||||
-rw-r--r-- | app-arch/pixz/pixz-9999.ebuild | 23 |
2 files changed, 22 insertions, 24 deletions
diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index fe9d1a813ca3..edba404e0d73 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -1,13 +1,21 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=6 +EAPI="6" inherit flag-o-matic +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/vasi/${PN}.git" + inherit git-r3 autotools +else + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz" + LICENSE="BSD-2" SLOT="0" IUSE="static" @@ -19,15 +27,6 @@ DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} )" [[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc" -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/${PN}.git" - inherit git-r3 autotools - KEYWORDS="" -else - SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~x86" -fi - src_prepare() { default [[ ${PV} == "9999" ]] && eautoreconf diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild index fe9d1a813ca3..edba404e0d73 100644 --- a/app-arch/pixz/pixz-9999.ebuild +++ b/app-arch/pixz/pixz-9999.ebuild @@ -1,13 +1,21 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ -EAPI=6 +EAPI="6" inherit flag-o-matic +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/vasi/${PN}.git" + inherit git-r3 autotools +else + SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" +fi + DESCRIPTION="Parallel Indexed XZ compressor" HOMEPAGE="https://github.com/vasi/pixz" + LICENSE="BSD-2" SLOT="0" IUSE="static" @@ -19,15 +27,6 @@ DEPEND="${RDEPEND} static? ( ${LIB_DEPEND} )" [[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc" -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/vasi/${PN}.git" - inherit git-r3 autotools - KEYWORDS="" -else - SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~x86" -fi - src_prepare() { default [[ ${PV} == "9999" ]] && eautoreconf |