[arch-commits] Commit in hyperfine/trunk (PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Sun Jul 18 14:41:34 UTC 2021


    Date: Sunday, July 18, 2021 @ 14:41:33
  Author: jelle
Revision: 978499

Make hyperfine reproducible by using zipman

zipman compresses our man pages with -n, which does not record the
timestamp in the gzip.

Modified:
  hyperfine/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-18 14:17:29 UTC (rev 978498)
+++ PKGBUILD	2021-07-18 14:41:33 UTC (rev 978499)
@@ -2,7 +2,7 @@
 # Contributor: cauebs <cauebs at pm.me>
 pkgname=hyperfine
 pkgver=1.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A command-line benchmarking tool"
 url="https://github.com/sharkdp/hyperfine"
 arch=("x86_64")
@@ -10,6 +10,7 @@
 depends=(gcc-libs)
 makedepends=(cargo)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/$pkgname/archive/v$pkgver.tar.gz")
+options=(zipman)
 sha256sums=('740f4826f0933c693fb281e3542d312da9ccc8fd68cebe883359a8085ddd77e9')
 
 build() {
@@ -33,5 +34,4 @@
     install -Dm644 target/release/build/hyperfine-*/out/_hyperfine "$pkgdir/usr/share/zsh/site-functions/_hyperfine"
 
     install -Dm644 doc/hyperfine.1 "$pkgdir/usr/share/man/man1/hyperfine.1"
-    gzip --best "$pkgdir/usr/share/man/man1/hyperfine.1"
 }




More information about the arch-commits mailing list