Robin Candau pushed to branch main at Arch Linux / Packaging / Packages /
link-grammar
Commits:
f528e098 by Robin Candau at 2025-02-13T21:26:05+01:00
upgpkg: 5.12.5-5: Strip non-deterministic information from jar files (e.g.
timestamps) for reproducible builds
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = link-grammar
pkgdesc = Grammar checking library
pkgver = 5.12.5
- pkgrel = 4
+ pkgrel = 5
url = https://opencog.github.io/link-grammar-website/
arch = x86_64
license = LGPL-2.1-or-later
@@ -9,6 +9,7 @@ pkgbase = link-grammar
makedepends = ant
makedepends = autoconf-archive
makedepends = git
+ makedepends = strip-nondeterminism
makedepends = swig
depends = glibc
depends = hunspell
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgname=link-grammar
pkgver=5.12.5
-pkgrel=4
+pkgrel=5
pkgdesc='Grammar checking library'
arch=(x86_64)
url='https://opencog.github.io/link-grammar-website/'
@@ -20,6 +20,7 @@ makedepends=(
ant
autoconf-archive
git
+ strip-nondeterminism
swig
)
checkdepends=(hunspell-en_us)
@@ -47,6 +48,10 @@ build() {
--localstatedir=/var
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
+
+ # Strip non-deterministic information from the jar file (e.g. timestamps)
+ # This is required for reproducible builds
+ find . -name "linkgrammar-${pkgver}.jar" -exec strip-nondeterminism {} +
}
check() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/link-grammar/-/commit/f528e09874094005078ca8c1b606033027afd513
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/link-grammar/-/commit/f528e09874094005078ca8c1b606033027afd513
You're receiving this email because of your account on gitlab.archlinux.org.