summaryrefslogtreecommitdiff
path: root/community/pymad/PKGBUILD
blob: 9ab61d3f222519ca66906f0b93484427ea1f4c06 (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 83176 2013-01-27 16:25:07Z 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
}