2 # Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
3 # Contributor: SpepS <dreamspepser at yahoo dot it>
4 # Contributor: Bernardo Barros <bernardobarros@gmail.com>
9 pkgdesc="A Python module written in C to help digital signal processing script creation"
10 arch=('i686' 'x86_64')
11 url="http://code.google.com/p/pyo/"
13 depends=('python2' 'portmidi' 'portaudio' 'liblo')
14 provides=('python-pyo')
15 conflicts=('python-pyo' 'python-pyo-svn' 'python2-pyo-svn')
16 source=("http://pyo.googlecode.com/files/pyo_$pkgver-src.tar.bz2"
17 "http://pyo.googlecode.com/files/pyo_$pkgver-doc.tar.bz2")
18 md5sums=('2d10de2493b27c4761a832281360b99f'
19 '57afd5acca499b5b4e2a17ff35052929')
22 cd "$srcdir/pyo_$pkgver-src"
24 export PYTHON="python2"
26 # build both with and without double
27 python2 setup.py build --use-double --use-jack
28 python2 setup.py build --use-jack
32 cd "$srcdir/pyo_$pkgver-src"
34 # install both with and without double
35 python2 setup.py install {--use-double,} \
40 install -d "$pkgdir/usr/share/$pkgname"
41 cp -a examples "$pkgdir/usr/share/$pkgname"
44 install -d "$pkgdir/usr/share/doc/$pkgname"
45 cp -a ../pyo_$pkgver-doc/* "$pkgdir/usr/share/doc/$pkgname"