summaryrefslogblamecommitdiff
path: root/system/pigz/APKBUILD
blob: 44ebab127a884156956c5021decb2869c20851cb (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        

                                                 
          

                                         
                            

              
          
                                
                          
                                                  

         
                 


         
                 


           







                                                         
                                                                                                                                                              
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=pigz
pkgver=2.8
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="ae3d9d593e1645d65f9ab77aa828600c9af4bb30d0a073da7ae3dd805e65b87efaf6a0efb980f2d0168e475ae506eba194547d6479956dabb9d88293a9078a7f  pigz-2.8.tar.gz"