updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / lib32-portaudio / PKGBUILD
blob80880a581c50234e620c98028a42b114513d127c
1 # Maintainer: josephgbr <rafael.f.f1 at gmail.com>
2 # Contributor: Xavius <xavierelf at gmail.com>
4 _pkgbasename=portaudio
5 pkgname=lib32-$_pkgbasename
6 pkgver=19_20110326
7 pkgrel=1
8 pkgdesc="A free, cross-platform, open source, audio I/O library (32 bit)"
9 arch=('x86_64')
10 url="http://www.portaudio.com/"
11 license=('custom')
12 depends=('lib32-jack' $_pkgbasename)
13 makedepends=('gcc-multilib')
14 options=('!libtool')
15 source=(http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz)
16 md5sums=('8f266ce03638419ef46e4efcb0fabde6')
18 build() {
19   cd "$srcdir/$_pkgbasename"
20   ./configure --prefix=/usr --libdir=/usr/lib32 CC="gcc -m32"
21   make
24 package () {
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"