summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pdfjam/pdfjam-3.10.ebuild')
-rw-r--r--app-text/pdfjam/pdfjam-3.10.ebuild22
1 files changed, 19 insertions, 3 deletions
diff --git a/app-text/pdfjam/pdfjam-3.10.ebuild b/app-text/pdfjam/pdfjam-3.10.ebuild
index fefcf36b724e..e8674eb746da 100644
--- a/app-text/pdfjam/pdfjam-3.10.ebuild
+++ b/app-text/pdfjam/pdfjam-3.10.ebuild
@@ -3,15 +3,23 @@
EAPI=8
-DESCRIPTION="Allows the manipulation of PDF files (pdfnup, pdfjoin and pdf90)"
+PDFJAM_EXTRAS_COMMIT=622e03add59db004144c0b41722a09b3b29d6d3e
+
+DESCRIPTION="Allows the manipulation of PDF files"
HOMEPAGE="https://github.com/rrthomas/pdfjam"
-SRC_URI="https://github.com/rrthomas/pdfjam/releases/download/v${PV}/pdfjam-${PV}.tar.gz"
+SRC_URI="
+ https://github.com/rrthomas/pdfjam/releases/download/v${PV}/pdfjam-${PV}.tar.gz
+ extra? (
+ https://github.com/rrthomas/pdfjam-extras/archive/${PDFJAM_EXTRAS_COMMIT}.tar.gz
+ -> pdfjam-extra-20191118.tar.gz
+ )
+"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="test"
+IUSE="extra test"
RESTRICT="!test? ( test )"
DEPEND="virtual/latex-base"
@@ -39,4 +47,12 @@ src_install() {
insinto usr/share/etc
doins pdfjam.conf
+
+ if use extra; then
+ cd ../pdfjam-extras-${PDFJAM_EXTRAS_COMMIT} || die
+
+ dobin bin/*
+ dodoc README.md
+ doman man1/*
+ fi
}