app-text/pdftk: add live ebuild with different upstream.

Bug: https://bugs.gentoo.org/562568

See https://forums.gentoo.org/viewtopic-p-8187088.html#8187088

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7712
This commit is contained in:
charIes17
2018-03-30 16:40:11 +02:00
committed by Patrice Clement
parent 8b2d0562ea
commit 09e0550990

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3 java-pkg-2 java-ant-2
DESCRIPTION="gcj-free version of pdftk written in Java"
HOMEPAGE="https://gitlab.com/marcvinyals/pdftk"
EGIT_REPO_URI="https://gitlab.com/marcvinyals/pdftk/"
LICENSE="GPL-2"
SLOT="0"
JAVA_PKG_STRICT="yes"
EANT_GENTOO_CLASSPATH="bcprov,commons-lang-3.6"
JAVA_ANT_REWRITE_CLASSPATH="true"
CDEPEND="
dev-java/bcprov:0
dev-java/commons-lang:3.6"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.7"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.7"
src_install() {
java-pkg_newjar "build/jar/pdftk.jar"
java-pkg_dolauncher
}