[arch-commits] Commit in pdftk/trunk (PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Fri Oct 11 15:34:55 UTC 2019
Date: Friday, October 11, 2019 @ 15:34:55
Author: diabonas
Revision: 514927
upgpkg: pdftk 3.0.7-2
Make package reproducible
Modified:
pdftk/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-11 15:33:09 UTC (rev 514926)
+++ PKGBUILD 2019-10-11 15:34:55 UTC (rev 514927)
@@ -1,13 +1,13 @@
# Maintainer: Jonas Witschel <diabonas at archlinux.org>
pkgname=pdftk
pkgver=3.0.7
-pkgrel=1
+pkgrel=2
pkgdesc='Command-line tool for working with PDFs'
arch=('any')
url='https://gitlab.com/pdftk-java/pdftk'
license=('GPL')
depends=('bcprov' 'java-commons-lang' 'java-runtime-headless')
-makedepends=('ant')
+makedepends=('ant' 'strip-nondeterminism')
checkdepends=('java-hamcrest' 'junit' 'junit-system-rules' 'poppler')
source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2" 'pdftk.sh')
sha512sums=('22e144a186b77817ff909543f068031023d7ebcc762443fc5ab4a31f008b9d62dd5662b7d122657e22e95292ea4b6443c4539ff279024d024aac92d7582b13f4'
@@ -24,6 +24,10 @@
build() {
cd "$pkgname-v$pkgver"
ant 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() {
More information about the arch-commits
mailing list