[crux-commits] ports/contrib (refs/remotes/origin/3.6): lz4: adopted package

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:51 UTC 2021


commit 04585c928c6739510bc9684fa918771c63ff24e5
Author: Tim Biermann <tbier at posteo.de>
Date:   Wed Feb 17 22:57:05 2021 +0000

    lz4: adopted package

diff --git a/lz4/.signature b/lz4/.signature
index e9331fbb7..5d7c211b9 100644
--- a/lz4/.signature
+++ b/lz4/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3yqpBnaEa3l6FGol3mjlt7T5Gq5VYnr8XDJuXme8dvk1QXV8jtA0j/LHVAqBfjq8swPSgBEMemp4AkqgFaxHlAY=
-SHA256 (Pkgfile) = 4282e6e34032a5915f0f86cf99687b48ad789c0a316347af7a0e865373a5d41c
+RWSagIOpLGJF32ojUL0IfiH/78Le7uotUbuFtYKVHi33zHdVYog9nJLB8kYkr0BRAjnK+CROcMYoIITI5dz0klY9kn8Q3ewwIQM=
+SHA256 (Pkgfile) = 038e333414e97d0da13a98b8b310dae154ee1e209fcd162cbf4fc14d3225b6f1
 SHA256 (.footprint) = b54711d20c7de6fc0ffa92a1f97ecbcfe55fe0ad50c2cf2aee77a330a6610aa3
 SHA256 (lz4-1.9.3.tar.gz) = 030644df4611007ff7dc962d981f390361e6c97a34e5cbc393ddfbe019ffe2c1
diff --git a/lz4/Pkgfile b/lz4/Pkgfile
index 17ed2085c..d235e2c05 100644
--- a/lz4/Pkgfile
+++ b/lz4/Pkgfile
@@ -1,17 +1,16 @@
 # Description: extremely fast compression algorithm
-# URL: http://www.lz4.org/
-# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
-# Packager: Erich Eckner, crux at eckner dot net
+# URL: https://www.lz4.org/
+# Maintainer: Tim Biermann, tbier at posteo dot de
 
 name=lz4
 version=1.9.3
 release=1
-source=("https://github.com/${name}/${name}/archive/v${version}/${name}-${version}.tar.gz")
+source=(https://github.com/$name/$name/archive/v$version/$name-$version.tar.gz)
 
 build() {
-	cd "${name}-${version}"
+  cd $name-$version
 
-	make -C lib PREFIX=/usr
-	make -C programs PREFIX=/usr lz4 lz4c
-	make install PREFIX=/usr DESTDIR="$PKG"
+  make -C lib PREFIX=/usr
+  make -C programs PREFIX=/usr lz4 lz4c
+  make install PREFIX=/usr DESTDIR=$PKG
 }


More information about the crux-commits mailing list