blob: 4c0cc8a2a4b07c8303246bba6df3fec12f8bbf4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=pigz
pkgver=2.3.3
pkgrel=0
pkgdesc="parallel implementation of gzip"
url="http://zlib.net/pigz/"
arch="all"
license="zlib"
depends=""
depends_dev=""
makedepends="zlib-dev"
install=""
subpackages="$pkgname-doc"
source="http://zlib.net/pigz/pigz-$pkgver.tar.gz"
_builddir="$srcdir"/pigz-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
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
}
md5sums="01d7a16cce77929cc1a78aa1bdfb68cb pigz-2.3.3.tar.gz"
sha256sums="4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c pigz-2.3.3.tar.gz"
sha512sums="6fa5ee1c03b4a8dc4b191acaa337b6f30132503ff413300214e1e6b27dd70590b53334be3fa880916f6ea4498beb8cf7c411a5954fdf188475882c44618c663c pigz-2.3.3.tar.gz"
|