diff options
author | root <root@rshg054.dnsready.net> | 2012-05-05 00:01:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-05 00:01:14 +0000 |
commit | 5801c5acd80d30d17aaef76b8bc401c61b3ef3c9 (patch) | |
tree | eb041f2a83edee4a597678749b22181df9a32ecb /testing/zlib/PKGBUILD | |
parent | b2c353d874b85e06f355a9419852e2616613c7d0 (diff) |
Sat May 5 00:01:14 UTC 2012
Diffstat (limited to 'testing/zlib/PKGBUILD')
-rw-r--r-- | testing/zlib/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/zlib/PKGBUILD b/testing/zlib/PKGBUILD new file mode 100644 index 000000000..8cb139591 --- /dev/null +++ b/testing/zlib/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 158127 2012-05-03 08:36:59Z pierre $ +# Maintainer: Pierre Schmitz <pierre@archlinux.de> + +pkgname=zlib +pkgver=1.2.7 +pkgrel=1 +pkgdesc='Compression library implementing the deflate compression method found in gzip and PKZIP' +arch=('i686' 'x86_64') +license=('custom') +url="http://www.zlib.net/" +depends=('glibc') +source=("http://zlib.net/current/zlib-${pkgver}.tar.gz") +md5sums=('60df6a37c56e7c1366cca812414f7b85') + +build() { + cd ${srcdir}/zlib-$pkgver + ./configure --prefix=/usr + make + + grep -A 24 '^ Copyright' zlib.h > LICENSE +} + +check() { + cd ${srcdir}/zlib-$pkgver + make test +} + +package() { + cd ${srcdir}/zlib-$pkgver + make install DESTDIR=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/zlib/LICENSE +} |