diff options
author | root <root@rshg054.dnsready.net> | 2011-09-05 23:14:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-05 23:14:38 +0000 |
commit | e05f52e52ba779f4b0ebb5463dba9fc74f67f0b8 (patch) | |
tree | 426be7e1703e9b4aaec588af1dcec4ae24fe161e /community/pigz/PKGBUILD | |
parent | f651180e6b1ac9508ec0d1d9b94972de776020a9 (diff) |
Mon Sep 5 23:14:38 UTC 2011
Diffstat (limited to 'community/pigz/PKGBUILD')
-rwxr-xr-x | community/pigz/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/pigz/PKGBUILD b/community/pigz/PKGBUILD new file mode 100755 index 000000000..de0dc48f4 --- /dev/null +++ b/community/pigz/PKGBUILD @@ -0,0 +1,33 @@ +# Contributor: Laszlo Papp <djszapi2@gmail.com> +# Maintainer:Stefan Husmann <stefan-husmann@t-online.de> + +pkgname=pigz +pkgver=2.1.6 +pkgrel=2 +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) +md5sums=('cbe9030c4be3d0ef2438ee5f8b169ca4') + +build() { + cd ${srcdir}/$pkgname-$pkgver + sed -i s/"CFLAGS=".*/"CFLAGS=${CFLAGS}"/g Makefile + 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 +} |