diff options
author | root <root@rshg054.dnsready.net> | 2011-12-20 23:14:59 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-20 23:14:59 +0000 |
commit | ea1f4bece8870857691a7123bdc899562760b3fe (patch) | |
tree | b332a0692c3e63d46cb60cb1214fc57871e619c8 /community/pigz | |
parent | 6d2dec5c3443d142a0131c43666929490961c16a (diff) |
Tue Dec 20 23:14:59 UTC 2011
Diffstat (limited to 'community/pigz')
-rwxr-xr-x | community/pigz/PKGBUILD | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/community/pigz/PKGBUILD b/community/pigz/PKGBUILD index de0dc48f4..b379fe2ea 100755 --- a/community/pigz/PKGBUILD +++ b/community/pigz/PKGBUILD @@ -1,33 +1,38 @@ +# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com> # Contributor: Laszlo Papp <djszapi2@gmail.com> -# Maintainer:Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> pkgname=pigz -pkgver=2.1.6 -pkgrel=2 +pkgver=2.1.7 +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) -md5sums=('cbe9030c4be3d0ef2438ee5f8b169ca4') +md5sums=('a09e1097fdc05ac0fff763bdb4d2d5e4') build() { - cd ${srcdir}/$pkgname-$pkgver + cd "${srcdir}/$pkgname" 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 + cd "${srcdir}/$pkgname" + + install -Dm755 "${srcdir}"/${pkgname}/${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 + + install -Dm644 "${srcdir}"/${pkgname}/${pkgname}.1 \ + "${pkgdir}"/usr/share/man/man1/${pkgname}.1 + install -Dm644 "${srcdir}"/${pkgname}/${pkgname}.pdf \ + "${pkgdir}"/usr/share/doc/${pkgname}/${pkgname}.pdf + install -Dm644 "${srcdir}"/${pkgname}/README \ + "${pkgdir}"/usr/share/licenses/${pkgname}/README } |