diff options
author | Zach van Rijn <me@zv.io> | 2022-12-01 20:16:49 -0600 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-12-01 20:16:49 -0600 |
commit | 288ba9fc9455ea9a242146eacaf4841018588ed9 (patch) | |
tree | 96da8126b19387abb7189aabd23f5fce2cc3baf8 /system/pigz | |
parent | 3fe3b6f911534b724e98653d21b287e6f5503280 (diff) | |
download | packages-288ba9fc9455ea9a242146eacaf4841018588ed9.tar.gz packages-288ba9fc9455ea9a242146eacaf4841018588ed9.tar.bz2 packages-288ba9fc9455ea9a242146eacaf4841018588ed9.tar.xz packages-288ba9fc9455ea9a242146eacaf4841018588ed9.zip |
user/{ccache,pigz}: move from { 'user/' --> 'system/' }.
Diffstat (limited to 'system/pigz')
-rw-r--r-- | system/pigz/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/system/pigz/APKBUILD b/system/pigz/APKBUILD new file mode 100644 index 000000000..20e656403 --- /dev/null +++ b/system/pigz/APKBUILD @@ -0,0 +1,32 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=pigz +pkgver=2.7 +pkgrel=0 +pkgdesc="Parallel implementation of gzip" +url="https://zlib.net/pigz/" +arch="all" +license="zlib" +depends="" +makedepends="zlib-dev cmd:which" +subpackages="$pkgname-doc" +source="https://zlib.net/pigz/pigz-$pkgver.tar.gz" + +build() { + make pigz +} + +check() { + make test +} + +package() { + mkdir -p "$pkgdir"/usr/bin + mkdir -p "$pkgdir"/usr/share/man/man1 + for i in pigz unpigz; do + install -m755 $i "$pkgdir"/usr/bin + done + install -m644 pigz.1 "$pkgdir"/usr/share/man/man1 +} + +sha512sums="9f9f61de4a0307fc057dc4e31a98bd8d706d9e709ecde0be02a871534fddf6a1fe1321158aa72708603aaaece43f83d2423b127f7689b6219b23aea4f989e8f5 pigz-2.7.tar.gz" |