1 # Maintainer: masutu <masutu dot arch at gmail dot com>
2 # Contributor: masutu <masutu dot arch at gmail dot com>
7 pkgdesc="Jack audio client module for python"
9 url="http://sourceforge.net/projects/py-jack/"
11 depends=('jack' 'python2-numpy')
12 source=(http://downloads.sourceforge.net/py-jack/$pkgname-$pkgver.tar.gz)
13 md5sums=('74a08e527b567e26460e8ff74f56d658')
16 cd "$srcdir/$pkgname-$pkgver"
17 python2 setup.py build
19 for file in $(find ./demos -name '*.py' -print); do
20 sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
25 cd "$srcdir/$pkgname-$pkgver"
26 python2 setup.py install --prefix=$pkgdir/usr
28 mkdir -p $pkgdir/usr/share/doc/$pkgname/demos
29 install -m644 demos/* $pkgdir/usr/share/doc/pyjack/demos
30 install -D -m644 Changelog $pkgdir/usr/share/doc/$pkgname/Changelog
31 install -D -m644 TODO $pkgdir/usr/share/doc/$pkgname/TODO
32 install -D -m644 README $pkgdir/usr/share/doc/$pkgname/README