[arch-commits] Commit in pdftk/repos/community-any (4 files)

Jonas Witschel diabonas at archlinux.org
Sun Apr 26 22:10:17 UTC 2020


    Date: Sunday, April 26, 2020 @ 22:10:15
  Author: diabonas
Revision: 621704

archrelease: copy trunk to community-any

Added:
  pdftk/repos/community-any/PKGBUILD
    (from rev 621703, pdftk/trunk/PKGBUILD)
  pdftk/repos/community-any/pdftk.sh
    (from rev 621703, pdftk/trunk/pdftk.sh)
Deleted:
  pdftk/repos/community-any/PKGBUILD
  pdftk/repos/community-any/pdftk.sh

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 pdftk.sh |    6 ++--
 2 files changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-26 22:10:07 UTC (rev 621703)
+++ PKGBUILD	2020-04-26 22:10:15 UTC (rev 621704)
@@ -1,45 +0,0 @@
-# Maintainer: Jonas Witschel <diabonas at archlinux.org>
-pkgname=pdftk
-pkgver=3.0.10
-pkgrel=1
-pkgdesc='Command-line tool for working with PDFs'
-arch=('any')
-url='https://gitlab.com/pdftk-java/pdftk'
-license=('GPL')
-depends=('java-runtime-headless')
-makedepends=('ant' 'bcprov' 'java-commons-lang' 'strip-nondeterminism')
-checkdepends=('java-hamcrest' 'junit' 'junit-system-rules' 'poppler')
-optdepends=('bcprov: support for signed PDF documents'
-            'java-commons-lang: dump_data, dump_data_fields and update_info operation support')
-source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2" 'pdftk.sh')
-sha512sums=('fb9b3640310ac0b7a8abd225a096c97e871b52cd8f025d30bcd732b54a9d54dff0d6e4424bc660f6a8aeffe618a8ad10e20a3b2a967dc63effb617bcf655e5c4'
-            '439c397472012d71c8e782a75819a7a950474c387b7050bbd5aa2f849d1dbe29423accf3f8e17d18436ba32eb4f76072df5b4f85caebd853df1e75c131631988')
-
-prepare() {
-	cd "$pkgname-v$pkgver"
-	mkdir lib
-	ln -s /usr/share/java/{bcprov,commons-lang/commons-lang,hamcrest-core,junit,junit-system-rules/system-rules}.jar lib
-	# No need for code coverage reports during tests
-	sed -ri '/<\/?jacoco:coverage>/d' build.xml
-}
-
-build() {
-	cd "$pkgname-v$pkgver"
-	ant clean jar
-
-	# Timestamps in JAR files generated by Ant do not honour SOURCE_DATE_EPOCH
-	# (https://bz.apache.org/bugzilla/show_bug.cgi?id=61269)
-	strip-nondeterminism --timestamp "$SOURCE_DATE_EPOCH" build/jar/pdftk.jar
-}
-
-check() {
-	cd "$pkgname-v$pkgver"
-	ant test-run
-}
-
-package() {
-	cd "$pkgname-v$pkgver"
-	install -Dm644 build/jar/pdftk.jar -t "$pkgdir/usr/share/java/$pkgname"
-	install -Dm644 pdftk.1 -t "$pkgdir/usr/share/man/man1"
-	install -Dm755 "$srcdir/pdftk.sh" "$pkgdir/usr/bin/pdftk"
-}

Copied: pdftk/repos/community-any/PKGBUILD (from rev 621703, pdftk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-26 22:10:15 UTC (rev 621704)
@@ -0,0 +1,45 @@
+# Maintainer: Jonas Witschel <diabonas at archlinux.org>
+pkgname=pdftk
+pkgver=3.1.0
+pkgrel=1
+pkgdesc='Command-line tool for working with PDFs'
+arch=('any')
+url='https://gitlab.com/pdftk-java/pdftk'
+license=('GPL')
+depends=('java-runtime-headless')
+makedepends=('ant' 'bcprov' 'java-commons-lang' 'strip-nondeterminism')
+checkdepends=('java-hamcrest' 'junit' 'junit-system-rules' 'poppler')
+optdepends=('bcprov: support for signed PDF documents'
+            'java-commons-lang: dump_data, dump_data_fields and update_info operation support')
+source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2" 'pdftk.sh')
+sha512sums=('44be05f1947f727935ee4e8c864a8675868f9529036fdb774ad4869e8759667ef2508709c95605731efdb482f35a02abe28170d3c33882f487920513c6a424fe'
+            '439c397472012d71c8e782a75819a7a950474c387b7050bbd5aa2f849d1dbe29423accf3f8e17d18436ba32eb4f76072df5b4f85caebd853df1e75c131631988')
+
+prepare() {
+	cd "$pkgname-v$pkgver"
+	mkdir lib
+	ln -s /usr/share/java/{bcprov,commons-lang/commons-lang,hamcrest-core,junit,junit-system-rules/system-rules}.jar lib
+	# No need for code coverage reports during tests
+	sed -ri '/<\/?jacoco:coverage>/d' build.xml
+}
+
+build() {
+	cd "$pkgname-v$pkgver"
+	ant clean jar
+
+	# Timestamps in JAR files generated by Ant do not honour SOURCE_DATE_EPOCH
+	# (https://bz.apache.org/bugzilla/show_bug.cgi?id=61269)
+	strip-nondeterminism --timestamp "$SOURCE_DATE_EPOCH" build/jar/pdftk.jar
+}
+
+check() {
+	cd "$pkgname-v$pkgver"
+	ant test-run
+}
+
+package() {
+	cd "$pkgname-v$pkgver"
+	install -Dm644 build/jar/pdftk.jar -t "$pkgdir/usr/share/java/$pkgname"
+	install -Dm644 pdftk.1 -t "$pkgdir/usr/share/man/man1"
+	install -Dm755 "$srcdir/pdftk.sh" "$pkgdir/usr/bin/pdftk"
+}

Deleted: pdftk.sh
===================================================================
--- pdftk.sh	2020-04-26 22:10:07 UTC (rev 621703)
+++ pdftk.sh	2020-04-26 22:10:15 UTC (rev 621704)
@@ -1,3 +0,0 @@
-#!/bin/sh
-CP='/usr/share/java/bcprov.jar:/usr/share/java/commons-lang/commons-lang.jar:/usr/share/java/pdftk/pdftk.jar'
-exec /usr/bin/java -cp "$CP" com.gitlab.pdftk_java.pdftk "$@"

Copied: pdftk/repos/community-any/pdftk.sh (from rev 621703, pdftk/trunk/pdftk.sh)
===================================================================
--- pdftk.sh	                        (rev 0)
+++ pdftk.sh	2020-04-26 22:10:15 UTC (rev 621704)
@@ -0,0 +1,3 @@
+#!/bin/sh
+CP='/usr/share/java/bcprov.jar:/usr/share/java/commons-lang/commons-lang.jar:/usr/share/java/pdftk/pdftk.jar'
+exec /usr/bin/java -cp "$CP" com.gitlab.pdftk_java.pdftk "$@"



More information about the arch-commits mailing list