updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / lib32-liblrdf / PKGBUILD
blobea9a13fdbce53fa5efe6d71cd0adda40e065c39b
1 # Maintainer: josephgbr <rafael.f.f1@gmail.com>
3 _pkgbase=liblrdf
4 pkgname=lib32-${_pkgbase}
5 pkgver=0.4.0
6 pkgrel=1
7 pkgdesc="A library for the manipulation of RDF file in LADSPA plugins (32 bit)"
8 arch=('x86_64')
9 url="http://sourceforge.net/projects/lrdf"
10 depends=('lib32-raptor' 'ladspa' "$_pkgbase")
11 makedepends=('gcc-multilib')
12 license=('GPL')
13 options=('!libtool')
14 source=(http://downloads.sourceforge.net/sourceforge/lrdf/${_pkgbase}-${pkgver}.tar.gz
15         md5.patch
16         raptor2.diff
17         pkgconfig-raptor.patch)
18 md5sums=('327a5674f671c4b360c6353800226877'
19          'a6d231d052dc188cbc4c1039cf3a2003' 
20          '80e938469da06a178e03107ca5b41e55'
21          '982ae1bd4b39c2fb5cba108fbcbfbad1')
23 build() {
24   export CC='gcc -m32'
25   export CXX='g++ -m32'
26   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
27   
28   cd "${srcdir}/${_pkgbase}-${pkgver}"
29   patch -Np1 -i "${srcdir}/md5.patch"
30   patch -Np0 -i "${srcdir}/raptor2.diff"
31   patch -Np1 -i "${srcdir}/pkgconfig-raptor.patch"
32   autoreconf -vfi
33   ./configure --prefix=/usr --libdir=/usr/lib32
34   make
37 package() {
38   cd "${srcdir}/${_pkgbase}-${pkgver}"
39   make DESTDIR="${pkgdir}" install
40   rm -rf "${pkgdir}"/usr/{include,share}