updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / pyaudio / PKGBUILD
blob3fa7cbccd4e9c741aa77c58c0822ef0dfbd75530
1 # Maintainer: David Scholl <djscholl at gmail dot com>
2 pkgname=pyaudio
3 pkgver=0.2.4
4 pkgrel=1
5 pkgdesc="Python bindings for PortAudio, the cross-platform audio I/O library"
6 arch=('i686' 'x86_64')
7 url="http://people.csail.mit.edu/hubert/pyaudio"
8 license=('MIT')
9 depends=('python2' 'portaudio')
10 source=(http://people.csail.mit.edu/hubert/$pkgname/packages/$pkgname-$pkgver.tar.gz)
11 md5sums=('623809778f3d70254a25492bae63b575')
13 build() {
14   cd $srcdir/PyAudio-$pkgver
15   python2 setup.py install --root=$pkgdir || return 1
16   install -d $pkgdir/usr/share/licenses/$pkgname
17   sed -n -e 17,40p README > $pkgdir/usr/share/licenses/$pkgname/COPYING