1 # Maintainer: josephgbr <rafael.f.f1 at gmail.com>
2 # Contributor: Xavius <xavierelf at gmail.com>
5 pkgname=lib32-$_pkgbasename
8 pkgdesc="A free, cross-platform, open source, audio I/O library (32 bit)"
10 url="http://www.portaudio.com/"
12 depends=('lib32-jack' $_pkgbasename)
13 makedepends=('gcc-multilib')
15 source=(http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz)
16 md5sums=('8f266ce03638419ef46e4efcb0fabde6')
19 cd "$srcdir/$_pkgbasename"
20 ./configure --prefix=/usr --libdir=/usr/lib32 CC="gcc -m32"
25 cd "$srcdir/$_pkgbasename"
26 make DESTDIR="$pkgdir" install
27 install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
28 rm -rf "$pkgdir/usr/include"