PKGBUILDs/aur/minizip/PKGBUILD

37 lines
953 B
Bash
Raw Normal View History

2013-01-11 23:25:33 +00:00
# Maintainer: Babets
# Contributor: Leslie P. Polzer <polzer at stardawn dot org>
pkgname=minizip
pkgver=1.2.7
pkgrel=1
pkgdesc="ZIP file extraction library"
url="http://www.winimage.com/zLibDll/minizip.html"
license=('ZLIB' 'custom')
arch=('i686' 'x86_64')
depends=('zlib')
provides=('libminizip')
conflicts=('libminizip')
options=(!libtool)
source=("http://zlib.net/current/zlib-${pkgver}.tar.gz"
LICENSE)
md5sums=('60df6a37c56e7c1366cca812414f7b85'
'66b8119e37a80d8bc9d7b1bac59d7d8e')
sha1sums=('4aa358a95d1e5774603e6fa149c926a80df43559'
'ad1e3fb070e1b63ae5350d9bb9607a79ecc0a5cd')
build() {
cd $srcdir/zlib-$pkgver/contrib/$pkgname
rm Makefile
autoreconf -i
autoconf
automake --add-missing
automake
./configure --prefix=/usr
make
}
package() {
cd $srcdir/zlib-$pkgver/contrib/$pkgname
make install DESTDIR=${pkgdir}
install -D -m644 $srcdir/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
}