updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lib32-zziplib / PKGBUILD
blob40586034458751f67ba6acdc2bc0da2c6a9623bf
1 _pkgbasename=zziplib
2 pkgname=lib32-$_pkgbasename
3 pkgver=0.13.60
4 pkgrel=2
5 pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file (32 bit)"
6 arch=('x86_64')
7 url="http://zziplib.sourceforge.net"
8 license=('LGPL' 'MPL')
9 depends=('lib32-zlib' "$_pkgbasename")
10 makedepends=('python2' 'gcc-multilib')
11 options=('!libtool')
12 source=("http://downloads.sourceforge.net/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2"
13         'zziplib-0.13.60-ldflags.patch')
14 md5sums=('54a6aa53262483a4d54f7c59f0a7258b'
15          'e585052f884525a338ca341b5d2957dc')
17 build() {
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'
24         make
27 package() {
28         cd ${srcdir}/${_pkgbasename}-${pkgver}
29         make DESTDIR=${pkgdir} install
30         rm -rf ${pkgdir}/usr/{bin,include,share}