Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / perl-inline-java
Commits: 438a6795 by Robin Candau at 2025-02-13T21:45:00+01:00 upgpkg: 0.67-5: Strip non-deterministic information from jar files (e.g. timestamps) for reproducible builds - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,13 +1,14 @@ pkgbase = perl-inline-java pkgdesc = The Inline::Java module allows you to put Java source code directly inline in a Perl script or module. pkgver = 0.67 - pkgrel = 4 + pkgrel = 5 url = https://search.cpan.org/dist/Inline-Java arch = x86_64 license = GPL license = PerlArtistic makedepends = java-environment=11 makedepends = perl-file-which + makedepends = strip-nondeterminism depends = perl depends = perl-inline depends = java-runtime ===================================== PKGBUILD ===================================== @@ -3,11 +3,11 @@ pkgname=perl-inline-java pkgver=0.67 -pkgrel=4 +pkgrel=5 pkgdesc="The Inline::Java module allows you to put Java source code directly inline in a Perl script or module." arch=('x86_64') depends=('perl' 'perl-inline' 'java-runtime') -makedepends=('java-environment=11' 'perl-file-which') +makedepends=('java-environment=11' 'perl-file-which' 'strip-nondeterminism') license=("GPL" "PerlArtistic") url="https://search.cpan.org/dist/Inline-Java" options=('!emptydirs') @@ -20,6 +20,10 @@ build() { PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor J2SDK=/usr/lib/jvm/java-11-openjdk # make java make + + # Strip non-deterministic information from jar files (e.g. timestamps) + # This is required for reproducible builds + find . -name "*.jar" -exec strip-nondeterminism {} + } package() { cd "$srcdir"/Inline-Java-$pkgver View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/perl-inline-java/-/commit/438a6795ccd8ce0917e552f04abc9182ed5eb4cb -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/perl-inline-java/-/commit/438a6795ccd8ce0917e552f04abc9182ed5eb4cb You're receiving this email because of your account on gitlab.archlinux.org.