updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / lib32-portaudio-pulse / PKGBUILD
blobe1e3fcf0e3e2d23ec07f1d99166bd6ac94c868c0
1 _pkgbasename=portaudio
2 pkgname=lib32-$_pkgbasename-pulse
3 pkgver=19_20110326
4 pkgrel=1
5 pkgdesc="A free, cross-platform, open source, audio I/O library (with pulse support, 32 bit)"
6 arch=('x86_64')
7 url="http://www.portaudio.com/"
8 license=('custom')
9 depends=('lib32-jack' 'lib32-alsa-lib' 'lib32-libpulse' "$_pkgbasename")
10 makedepends=('gcc-multilib')
11 conflicts=("lib32-$_pkgbasename")
12 provides=("lib32-$_pkgbasename")
13 options=('!libtool')
14 source=(http://www.portaudio.com/archives/pa_stable_v$pkgver.tgz)
15 md5sums=('8f266ce03638419ef46e4efcb0fabde6')
17 build() {
18   export CC='gcc -m32'
19   export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
21   cd "${srcdir}/${_pkgbasename}"
22   ./configure --prefix=/usr --libdir=/usr/lib32
23   make
26 package () {
27   cd "${srcdir}/${_pkgbasename}"
28   make DESTDIR=$pkgdir install
29   rm -rf "${pkgdir}"/usr/include
30   install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"