summaryrefslogtreecommitdiff
path: root/core/pigz/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/pigz/MAKEPKG')
-rw-r--r--core/pigz/MAKEPKG24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/pigz/MAKEPKG b/core/pigz/MAKEPKG
new file mode 100644
index 0000000..40e39ce
--- /dev/null
+++ b/core/pigz/MAKEPKG
@@ -0,0 +1,24 @@
+#!/bin/mkpkg
+# description: Parallel implementation of the gzip compressor
+# url: https://www.zlib.net/pigz
+name=pigz
+version=2.8
+release=2
+depends=(zlib)
+source=(https://www.zlib.net/$name/$name-$version.tar.gz)
+sha256sums=(
+ "eb872b4f0e1f0ebe59c9f7bd8c506c4204893ba6a8492de31df416f0d5170fd0"
+)
+build() {
+ cd $name-$version
+ make CC="${CC:-cc}" CFLAGS="${CFLAGS:--O2}" LDFLAGS="$LDFLAGS"
+ install -Dm755 pigz $PKG/bin/pigz
+ ln -s pigz $PKG/bin/unpigz
+ install -Dm644 pigz.1 $PKG/usr/share/man/man1/pigz.1
+ ln -s pigz.1 $PKG/usr/share/man/man1/unpigz.1
+}
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+# vim: filetype=sh