updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / python-pyalsaaudio-svn / PKGBUILD
blob69c776893b8b1478d8d9510321baacff723e8c92
1 # Contributor: Martin Bukatovic <martin.bukatovic@gmail.com>
3 pkgname=python-pyalsaaudio-svn
4 pkgver=35
5 pkgrel=1
6 pkgdesc="Python ALSA wrapper"
7 arch=('i686' 'x86_64')
8 url="http://pyalsaaudio.sourceforge.net"
9 license=("custom")
10 depends=('python>=2.6' 'alsa-lib')
12 provides=('python-pyalsaaudio')
13 conflicts=('python-pyalsaaudio')
15 source=()
16 md5sums=()
18 _svntrunk=https://pyalsaaudio.svn.sourceforge.net/svnroot/pyalsaaudio/trunk
19 _svnmod=pyalsaaudio
21 build() {
22   cd $srcdir
24   # Get Latest Source Code
25   svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
27   msg "SVN checkout done or server timeout"
28   msg "Starting make..."
30   # Install
31   cd $_svnmod
32   python setup.py install --root=$pkgdir
33   install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE