From: charIes17 Date: Fri, 30 Mar 2018 14:40:11 +0000 (+0200) Subject: app-text/pdftk: add live ebuild with different upstream. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=09e0550990ea6cf5232ba3c0a11c933aa01d52d6;p=gentoo.git 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 --- diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild new file mode 100644 index 000000000000..38734756ceba --- /dev/null +++ b/app-text/pdftk/pdftk-9999.ebuild @@ -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 +}