diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/pigz/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/pigz/PKGBUILD')
-rw-r--r-- | community/pigz/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community/pigz/PKGBUILD b/community/pigz/PKGBUILD new file mode 100644 index 000000000..5ae1190d3 --- /dev/null +++ b/community/pigz/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 86235 2013-03-13 19:48:34Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Laszlo Papp <djszapi2@gmail.com> +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=pigz +pkgver=2.3 +pkgrel=1 +pkgdesc='Parallel implementation of the gzip file compressor' +arch=('i686' 'x86_64') +url='http://www.zlib.net/pigz/' +license=('custom') +depends=('zlib') +source=(http://www.zlib.net/$pkgname/$pkgname-$pkgver.tar.gz + pigz-2.3-make.patch) +md5sums=('042e3322534f2c3d761736350cac303f' + 'f6291ee36e36e098d7fbf0655a89b183') + +build() { + cd "$srcdir"/$pkgname-$pkgver + patch -Np1 -i "$srcdir"/pigz-2.3-make.patch + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + install -Dm755 "$srcdir"/$pkgname-$pkgver/$pkgname \ + "$pkgdir"/usr/bin/$pkgname + + pushd "$pkgdir"/usr/bin + ln -s pigz unpigz + popd + + install -Dm644 "$srcdir"/$pkgname-$pkgver/$pkgname.1 \ + "$pkgdir"/usr/share/man/man1/$pkgname.1 + install -Dm644 "$srcdir"/$pkgname-$pkgver/$pkgname.pdf \ + "$pkgdir"/usr/share/doc/$pkgname/$pkgname.pdf + install -Dm644 "$srcdir"/$pkgname-$pkgver/README \ + "$pkgdir"/usr/share/licenses/$pkgname/README +} |