updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / lib32-libcap-ng / PKGBUILD
blob1e526897ad35b911dcde4d21baa0f68a2e2942b7
1 # Maintainer: josephgbr <rafael.f.f1 at gmail.com>
3 _pkgbase=libcap-ng
4 pkgname=lib32-$_pkgbase
5 pkgver=0.6.6
6 pkgrel=1
7 pkgdesc="A library intended to make programming with POSIX capabilities much easier than the traditional libcap (32 bit)"
8 arch=('x86_64')
9 url="http://people.redhat.com/sgrubb/libcap-ng/"
10 license=('GPL2' 'LGPL2.1')
11 depends=('lib32-glibc' "$_pkgbase")
12 makedepends=('gcc-multilib')
13 options=('!libtool')
14 source=(http://people.redhat.com/sgrubb/$_pkgbase/$_pkgbase-$pkgver.tar.gz)
15 md5sums=('eb71f967cecb44b4342baac98ef8cb0f')
17 build() {
18   export CC='gcc -m32'
19   
20   cd "$srcdir/$_pkgbase-$pkgver"
22   ./configure --prefix=/usr --enable-static=no --with-python=no --libdir=/usr/lib32
23   make
26 package() {
27   cd "$srcdir/$_pkgbase-$pkgver"
29   make DESTDIR="$pkgdir" install
30   rm -rf "${pkgdir}/usr"/{bin,include,share}