summaryrefslogblamecommitdiff
path: root/user/pigz/APKBUILD
blob: 20e65640359f497805cda3820a91947b2ed03991 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                         
          

                                         
                            

              
          
                                
                          
                                                  

         
                 


         
                 


           







                                                         
                                                                                                                                                              
# 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"