Date: Friday, October 11, 2019 @ 15:25:26 Author: diabonas Revision: 514919
upgpkg: java-commons-lang 3.9-4 Make package reproducible Modified: java-commons-lang/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-10-11 15:18:27 UTC (rev 514918) +++ PKGBUILD 2019-10-11 15:25:26 UTC (rev 514919) @@ -1,13 +1,13 @@ # Maintainer: Jonas Witschel <diabo...@archlinux.org> pkgname=java-commons-lang pkgver=3.9 -pkgrel=3 +pkgrel=4 pkgdesc='A host of helper utilities for the java.lang API' arch=('any') url='https://commons.apache.org/proper/commons-lang/' license=('APACHE') depends=('java-runtime-headless') -makedepends=('maven') +makedepends=('maven' 'strip-nondeterminism') source=("https://www.apache.org/dist/commons/lang/source/commons-lang3-$pkgver-src.tar.gz"{,.asc}) sha512sums=('bf69e747a2ed1a0a1b67e5c0e7bdb2344f7d8b0a88e0b535d8bdee627cbdc7be769593b58b76c84149acbb6f284f9b125095ba5a9d222413c033d1b72e07ac98' 'SKIP') @@ -19,6 +19,10 @@ -Dmaven.test.skip=true \ -Drat.skip=true \ install + + # Timestamps in JAR files generated by Maven do not honour SOURCE_DATE_EPOCH + # (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318) + strip-nondeterminism --timestamp "$SOURCE_DATE_EPOCH" "target/commons-lang3-$pkgver.jar" } check() {