summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-06-20 11:48:57 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-06-20 11:48:57 +0200
commitb0b9a1c4950408611fafaeb37c78085b69c084cf (patch)
tree6aed8abe79d1d51eca2c8dbd06a3c7e27727a744
parentmetadata/stabilization-groups: add dev-tex/pdfannotextractor to texlive stabi... (diff)
downloadgentoo-b0b9a1c4950408611fafaeb37c78085b69c084cf.tar.gz
gentoo-b0b9a1c4950408611fafaeb37c78085b69c084cf.tar.bz2
gentoo-b0b9a1c4950408611fafaeb37c78085b69c084cf.zip
dev-tex/pdfannotextractor: fix install location of pax.sty, only unpack tarball
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--dev-tex/pdfannotextractor/pdfannotextractor-0.2-r1.ebuild (renamed from dev-tex/pdfannotextractor/pdfannotextractor-0.2.ebuild)12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-tex/pdfannotextractor/pdfannotextractor-0.2.ebuild b/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r1.ebuild
index db396a353ae8..ace9995f3277 100644
--- a/dev-tex/pdfannotextractor/pdfannotextractor-0.2.ebuild
+++ b/dev-tex/pdfannotextractor/pdfannotextractor-0.2-r1.ebuild
@@ -50,6 +50,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-0.2-javajars.patch
)
+src_unpack() {
+ unpack ${P}.tar.gz
+}
+
src_prepare() {
default
cp "${DISTDIR}"/pdfbox-${MY_PDFBOX_VER}.jar pdfbox.jar || die
@@ -62,13 +66,11 @@ src_compile() {
}
src_install() {
-# newbin scripts/pdfannotextractor.pl pdfannotextractor
-
java-pkg_dojar scripts/pax.jar pdfbox.jar fontbox.jar
-
java-pkg_dolauncher ${PN} --main pax.PDFAnnotExtractor
- insinto ${TEXMF}
- doins -r tex
+ insinto ${TEXMF}/latex/pax
+ doins tex/pax.sty
+
dodoc README
}