summaryrefslogtreecommitdiff
path: root/extra/pymad/PKGBUILD
blob: 2c145e71ea72662d799c41926aafbcd7dab729f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $Id: PKGBUILD 150562 2012-02-18 14:43:39Z pierre $
# Maintainer: Mark Rosenstand <mark@archlinux.org
# Contributor: Corrado Primier <cp663137@stud.polimi.it>

pkgname=pymad
pkgver=0.6
pkgrel=4
pkgdesc="Python interface to libmad."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.spacepants.org/src/pymad/"
license=('LGPL')
depends=('libmad' 'python2')
source=("http://www.spacepants.org/src/pymad/download/$pkgname-$pkgver.tar.gz")
md5sums=('a1405fb4b610348565c8d0e400c5ff18')

build() {
  cd $srcdir/$pkgname-$pkgver
  python2 config_unix.py --prefix=/usr
}

package() {
  cd $srcdir/$pkgname-$pkgver
  python2 setup.py install --root=$pkgdir
}