Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / java-rxtx
Commits: 83c0ed84 by Robin Candau at 2025-02-13T20:35:56+01:00 upgpkg: 2.2pre2-11: Strip non-deterministic information from jar file (e.g. timestamps) for reproducible builds - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,12 +1,13 @@ pkgbase = java-rxtx pkgdesc = Java library for serial IO pkgver = 2.2pre2 - pkgrel = 10 + pkgrel = 11 url = http://rxtx.qbang.org/ install = java-rxtx.install arch = x86_64 license = LGPL makedepends = java-environment + makedepends = strip-nondeterminism depends = glibc depends = java-runtime depends = systemd ===================================== PKGBUILD ===================================== @@ -4,13 +4,13 @@ pkgname=java-rxtx _pkgname=rxtx pkgver=2.2pre2 -pkgrel=10 +pkgrel=11 pkgdesc="Java library for serial IO" arch=('x86_64') url="http://rxtx.qbang.org/" license=('LGPL') depends=('glibc' 'java-runtime' 'systemd') -makedepends=('java-environment') +makedepends=('java-environment' 'strip-nondeterminism') provides=("$_pkgname=$pkgver") replaces=("$_pkgname") install=$pkgname.install @@ -77,6 +77,11 @@ build() { cd $_pkgname-$pkgver ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make -j1 + + # Strip non-deterministic information from jar file (e.g. timestamps) + # This is required for reproducible builds + find . -name "RXTXcomm.jar" -exec strip-nondeterminism {} + + } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/java-rxtx/-/commit/83c0ed84015deb2a91b7131bad5d382d117e354f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/java-rxtx/-/commit/83c0ed84015deb2a91b7131bad5d382d117e354f You're receiving this email because of your account on gitlab.archlinux.org.