PKGBUILDs/community/python-pyalsaaudio/PKGBUILD
2009-10-09 21:15:33 -05:00

21 lines
673 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Gilles Fabio <gilles.fabio@gmail.com>
pkgname=python-pyalsaaudio
pkgver=0.5
pkgrel=1
pkgdesc="Python ALSA wrapper"
arch=('i686' 'x86_64')
url="http://pyalsaaudio.sourceforge.net"
license=("custom")
depends=('python>=2.6' 'alsa-lib')
source=(http://downloads.sourceforge.net/sourceforge/pyalsaaudio/pyalsaaudio-$pkgver.tar.gz)
md5sums=('ca072c41d649c959f27f85d4fbc4dcec')
build() {
cd $srcdir/pyalsaaudio-$pkgver
python setup.py install --root=$pkgdir
install -Dm644 $srcdir/pyalsaaudio-$pkgver/LICENSE \
$pkgdir/usr/share/licenses/$pkgname/LICENSE
}