Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD python-pyalsaaudio 0.7-1

By: zetaron on May 14th, 2013  |  syntax: Bash  |  size: 0.71 KB  |  views: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer : SpepS <dreamspepser at yahoo dot it>
  2. # Contributor: Alexander Fehr <pizzapunk gmail com>
  3.  
  4. pkgname=python-pyalsaaudio
  5. pkgver=0.7
  6. pkgrel=1
  7. pkgdesc="ALSA wrapper for Python"
  8. arch=('i686' 'x86_64')
  9. url="http://pyalsaaudio.sourceforge.net/"
  10. license=('PSF')
  11. depends=('python' 'alsa-lib')
  12. source=("http://downloads.sourceforge.net/pyalsaaudio/pyalsaaudio-$pkgver.tar.gz")
  13. md5sums=('2c573e5352d425cf4c09b3ee1d36ba68')
  14.  
  15. build() {
  16.   cd $srcdir/pyalsaaudio-$pkgver
  17.  
  18.   python setup.py build
  19. }
  20.  
  21. package() {
  22.   cd $srcdir/pyalsaaudio-$pkgver
  23.  
  24.   python setup.py install --root=$pkgdir
  25.  
  26.   # doc
  27.   install -d "$pkgdir/usr/share/doc/$pkgname"
  28.   cp -a doc/html/* "$pkgdir/usr/share/doc/$pkgname"
  29. }