app-text/pdftk: add live ebuild with different upstream.
authorcharIes17 <charles17@arcor.de>
Fri, 30 Mar 2018 14:40:11 +0000 (16:40 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 8 Apr 2018 22:42:07 +0000 (00:42 +0200)
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

app-text/pdftk/pdftk-9999.ebuild [new file with mode: 0644]

diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild
new file mode 100644 (file)
index 0000000..3873475
--- /dev/null
@@ -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
+}