updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / portaudio_v18 / PKGBUILD
blobb79de21b00aba9b6fc8073ff379bc1cd06beb842
1 # Contributor: my64 <package@obordes.com>
3 pkgname=portaudio_v18
4 pkgver=pa_snapshot_v18
5 pkgrel=3
6 pkgdesc="A free, cross-platform, open source, audio I/O library"
7 arch=('i686' 'x86_64')
8 url="http://www.portaudio.com/"
9 license=('custom')
10 depends=('autoconf>=2.13')
11 source=(http://obor.free.fr/Logiciels/arch_packages/$pkgver.tar.gz)
12 md5sums=('873f42e891da37cfc7598d65196e481e')
13 build() {
14   cd $startdir/src/${pkgname/_v18/}
15   mkdir -p ${startdir}/pkg/usr/{include,lib}
16   ./configure --prefix=/usr
17   sed -i "s/CFLAGS = /CFLAGS = -fPIC /" Makefile
18   make  || return 1
19   make PREFIX=${startdir}/pkg/usr install || return 1
20   install -D -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/${pkgname/_v18/}/LICENSE.txt
23 # vim:set ts=2 sw=2 et: