Robin Candau pushed to branch main at Arch Linux / Packaging / Packages /
blobby2
Commits:
afbc1fcc by Robin Candau at 2025-02-13T19:03:12+01:00
upgpkg: 1.1.1-2: Strip non-deterministic information from zip files (e.g.
timestamps) for reproducible builds
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = blobby2
pkgdesc = A beach ball game with blobs of goo
pkgver = 1.1.1
- pkgrel = 1
+ pkgrel = 2
url = http://sourceforge.net/projects/blobby/
arch = x86_64
license = GPL
@@ -9,6 +9,7 @@ pkgbase = blobby2
makedepends = boost
makedepends = mesa
makedepends = zip
+ makedepends = strip-nondeterminism
depends = sdl2
depends = physfs
depends = libgl
=====================================
PKGBUILD
=====================================
@@ -4,12 +4,12 @@
pkgname=blobby2
pkgver=1.1.1
arch=('x86_64')
-pkgrel=1
+pkgrel=2
pkgdesc="A beach ball game with blobs of goo"
url="http://sourceforge.net/projects/blobby/"
license=('GPL')
depends=('sdl2' 'physfs' 'libgl')
-makedepends=('cmake' 'boost' 'mesa' 'zip')
+makedepends=('cmake' 'boost' 'mesa' 'zip' 'strip-nondeterminism')
source=(https://downloads.sourceforge.net/blobby/$pkgname-linux-$pkgver.tar.gz)
sha512sums=('4061de21586ed8404c1cfb5284820e5e0835d10270de12d5e336c1fd9bb080f27a732d9d6cd3a98cbf1eb9d674791d028692f8031b56a9e0be09fcadb2e64c03')
@@ -17,6 +17,10 @@ build() {
cd "$srcdir"/blobby-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr
make
+
+ # Strip non-deterministic information from zip files (e.g. timestamps)
+ # This is required for reproducible builds
+ find . -name "*.zip" -exec strip-nondeterminism {} +
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/blobby2/-/commit/afbc1fcc669117dea44cef3925d5b7995a7aae01
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/blobby2/-/commit/afbc1fcc669117dea44cef3925d5b7995a7aae01
You're receiving this email because of your account on gitlab.archlinux.org.