1. # Contributor: SpepS <dreamspepser at yahoo dot it>
  2.  
  3. pkgname=python-pyalsaaudio
  4. pkgver=0.6
  5. pkgrel=1
  6. pkgdesc="Python ALSA wrapper"
  7. arch=('i686' 'x86_64')
  8. url="http://pyalsaaudio.sourceforge.net"
  9. license=('PSF')
  10. depends=('python2' 'alsa-lib')
  11. source=(http://downloads.sourceforge.net/sourceforge/pyalsaaudio/pyalsaaudio-$pkgver.tar.gz)
  12. md5sums=('94811fc4de883996eac4046d36fe2364')
  13.  
  14. build() {
  15.  
  16. cd $srcdir/pyalsaaudio-$pkgver
  17.  
  18. # Python2 build
  19. export PYTHON="python2"
  20.  
  21. python2 setup.py install --root=$pkgdir
  22. }