updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pyao / PKGBUILD
blob99360d96258c054576e9178a5dd618c22bbb7810
1 # Maintainer:  TDY <tdy@gmx.com>
2 # Contributor: Corrado Primier <cp663137@stud.polimi.it>
3 # Contributor: Jens Persson <xerxes2 at gmail.com>
5 pkgname=pyao
6 pkgver=0.82
7 pkgrel=5
8 pkgdesc="Python ao wrapper library"
9 arch=('any')
10 url="http://ekyo.nerim.net/software/pyogg/"
11 license=('GPL')
12 depends=('libao' 'python2')
13 source=(http://ekyo.nerim.net/software/pyogg/$pkgname-$pkgver.tar.gz
14         $pkgname-$pkgver-gentoo.diff)
15 md5sums=('8e00f5154401a6f6d99efd20606e2819'
16          '1faf48d6d726d510679726193cf2a45c')
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
20   patch -Np0 -i ../$pkgname-$pkgver-gentoo.diff
21   python2 config_unix.py --prefix=/usr
22   python2 setup.py build
25 package() {
26   cd "$srcdir/$pkgname-$pkgver"
27   python2 setup.py install --root="$pkgdir"