Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
systray-x


Commits:
36b50857 by Robin Candau at 2025-02-07T18:01:03+01:00
Use strip-nondeterminism for reproducibility

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -10,6 +10,7 @@ pkgbase = systray-x
        makedepends = unzip
        makedepends = libx11
        makedepends = kstatusnotifieritem
+       makedepends = strip-nondeterminism
        depends = qt6-base
        depends = qt6-wayland
        depends = thunderbird


=====================================
PKGBUILD
=====================================
@@ -10,7 +10,7 @@ url="https://github.com/Ximi1970/systray-x";
 arch=('x86_64')
 license=('MPL-2.0')
 depends=('qt6-base' 'qt6-wayland' 'thunderbird')
-makedepends=('git' 'zip' 'unzip' 'libx11' 'kstatusnotifieritem')
+makedepends=('git' 'zip' 'unzip' 'libx11' 'kstatusnotifieritem' 
'strip-nondeterminism')
 source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
        'Makefile.patch'
        'binary_path.patch')
@@ -20,7 +20,7 @@ 
sha256sums=('7a9bc146f341288b0b41e65d56190dcead694681b1bed25ad36a35768abf3029'
 
 prepare() {
        cd "${pkgbase}-${pkgver}"
-       
+
        # Add the correct path to the binary in the json file
        patch -Np1 -i "${srcdir}/binary_path.patch"
 
@@ -40,6 +40,9 @@ build() {
        cd "${pkgbase}-${pkgver}"
        _build systray-x-common
        _build systray-x-kde
+
+       # Strip timestamps for zip archive for reproducibility
+       strip-nondeterminism -t zip [email protected]
 }
 
 package_systray-x-common() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systray-x/-/commit/36b508573e467018db94b5205ab57a43b79d849b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/systray-x/-/commit/36b508573e467018db94b5205ab57a43b79d849b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to