diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2018-09-05 12:00:27 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2018-09-05 13:50:33 +0200 |
commit | cdbdd31fe0cd528853445b2dbccc1d6b4215eeec (patch) | |
tree | d7095846da0c0a450fcb8f7f1e529f9302698768 /app-text/pdftk/pdftk-9999.ebuild | |
parent | x11-drivers/nvidia-drivers: Old. (diff) | |
download | gentoo-cdbdd31fe0cd528853445b2dbccc1d6b4215eeec.tar.gz gentoo-cdbdd31fe0cd528853445b2dbccc1d6b4215eeec.tar.bz2 gentoo-cdbdd31fe0cd528853445b2dbccc1d6b4215eeec.zip |
app-text/pdftk: Make ebuild a bit more flexible; add release ebuild
Diffstat (limited to 'app-text/pdftk/pdftk-9999.ebuild')
-rw-r--r-- | app-text/pdftk/pdftk-9999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild index ca097cf65391..c07263f6856d 100644 --- a/app-text/pdftk/pdftk-9999.ebuild +++ b/app-text/pdftk/pdftk-9999.ebuild @@ -3,11 +3,19 @@ EAPI=6 -inherit git-r3 java-pkg-2 java-ant-2 +inherit java-pkg-2 java-ant-2 DESCRIPTION="gcj-free version of pdftk written in Java" HOMEPAGE="https://gitlab.com/pdftk-java/pdftk" -EGIT_REPO_URI="https://gitlab.com/pdftk-java/pdftk/" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/pdftk-java/pdftk/" +else + SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/archive/v${PV}/pdftk-v${PV}.tar.bz2" + KEYWORDS="" + S="${WORKDIR}/pdftk-v${PV}" +fi LICENSE="GPL-2" SLOT="0" |