base:modifie le PKGBUILD de zlib
[glg-lfs.git] / base / zlib / PKGBUILD
blobd673e55e46c54d3fd35db0f63aee05af3ccb7084
1 pkgname=zlib
2 pkgver=1.2.7
3 pkgrel=1
4 arch=('any')
5 intall=zlib.install
6 source=(http://www.zlib.net/${pkgname}-${pkgver}.tar.gz)
7 md5sums=('28f1205d8dd2001f26fec1e8c2cebe37')
9 build() {
10         cd ${srcdir}/${pkgname}-${pkgver}
11         ./configure --prefix=/usr
12         make
15 check() {
16         cd ${srcdir}/${pkgname}-${pkgver}
17         make -k check
20 package() {
21         cd "$srcdir/$pkgname-$pkgver"
22         make DESTDIR=${pkgdir} install