pkgname=zlib pkgver=1.2.3.3 pkgrel=3 pkgdesc="A compression/decompression Library" license=custom:zlib url="http://www.gzip.org/zlib" depends='uclibc' source="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz" subpackages="$pkgname-dev $pkgname-doc" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr --shared make || return 1 make install DESTDIR="$pkgdir" || return 1 } md5sums="c444cf020e5f0e3323b11f5a2d8af8d3 zlib-1.2.3.3.tar.gz"