updated on Tue Jan 10 08:08:34 UTC 2012
[aur-mirror.git] / libminizip / PKGBUILD
blobc8ae559dde0aa8a7492c0f417ec5ab106daa6f55
1 # Contributor:  Leslie P. Polzer <polzer@stardawn.org>
2 pkgname=libminizip
3 pkgver=1.1
4 pkgrel=1
5 pkgdesc="ZIP file extraction library"
6 url="http://www.winimage.com/zLibDll/minizip.html"
7 license="zlib"
8 arch=('i686')
9 depends=()
10 source=(http://www.winimage.com/zLibDll/unzip11.zip)
11 md5sums=('29d6914e204292fa3bcd8f157a735793')
12 sha1sums=('47eefda2456cc9645bb7751f1a96fd6191da45f8')
13 build() {
14   cd $startdir/src
16   gcc -shared zip.c unzip.c ioapi.c -o libminizip.so.1
18   install -m755 -D libminizip.so.1 $startdir/pkg/usr/lib/libminizip.so.1
19   cd $startdir/pkg/usr/lib && ln -sf libminizip.so.1 libminizip.so
21   cd $startdir/src
22   mkdir -p $startdir/pkg/usr/include
23   install -m644 zip.h unzip.h ioapi.h $startdir/pkg/usr/include