[arch-commits] Commit in nload/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue May 11 20:18:06 UTC 2021
Date: Tuesday, May 11, 2021 @ 20:18:05
Author: jelle
Revision: 930624
Make nload reproducible
Don't embed timestamps in gzip.
Modified:
nload/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-11 20:10:11 UTC (rev 930623)
+++ PKGBUILD 2021-05-11 20:18:05 UTC (rev 930624)
@@ -3,7 +3,7 @@
pkgname=nload
pkgver=0.7.4
-pkgrel=6
+pkgrel=7
pkgdesc='Monitors network traffic and bandwidth usage'
url='http://www.roland-riegel.de/nload'
license=('GPL2')
@@ -12,6 +12,12 @@
source=("$url/$pkgname-$pkgver.tar.gz")
sha512sums=('ca3e36d3f77c5a7994a3261042fb65a1458a29c769e6bebbe3b8e49b3045aca6f4d047065d11431b28368e0d881c24c92533fa24f0e54ac270f1f5bccfb5c0af')
+prepare() {
+ cd $pkgname-$pkgver
+ # make gzip reproducible by not embedding timestamps
+ sed -i 's/gzip -f/gzip -nf'/ docs/Makefile.am docs/Makefile.in
+}
+
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr
More information about the arch-commits
mailing list