2 pkgname=lib32-$_pkgbasename
5 pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file (32 bit)"
7 url="http://zziplib.sourceforge.net"
9 depends=('lib32-zlib' "$_pkgbasename")
10 makedepends=('python2' 'gcc-multilib')
12 source=("http://downloads.sourceforge.net/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2"
13 'zziplib-0.13.60-ldflags.patch')
14 md5sums=('54a6aa53262483a4d54f7c59f0a7258b'
15 'e585052f884525a338ca341b5d2957dc')
18 cd ${srcdir}/${_pkgbasename}-${pkgver}
20 patch -p1 -i ../zziplib-0.13.60-ldflags.patch
22 ./configure --prefix=/usr --libdir=/usr/lib32 \
23 CC='gcc -m32' PYTHON='/usr/bin/python2'
28 cd ${srcdir}/${_pkgbasename}-${pkgver}
29 make DESTDIR=${pkgdir} install
30 rm -rf ${pkgdir}/usr/{bin,include,share}