summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6f2d152dc4a053b6b0a516aaab843b6944096a6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Mark Coolen <mark dot coolen at gmail dot com>
pkgname=python2-mingus
_pkgname=python-mingus
pkgver=0.5.1
pkgrel=1
pkgdesc="a package for Python used by programmers, musicians, composers and researchers 
to make and investigate music."
arch=('any')
url="https://github.com/bspaans/python-mingus"
license=('GPL')
depends=('python2')
optdepends=('lilypond' 'fluidsynth')
source=("https://github.com/bspaans/python-mingus/archive/${pkgver}.tar.gz")
options=(!emptydirs)
md5sums=('95aff384c90f8b06345b67dc922740c9')

package() {
	cd "$srcdir/$_pkgname-$pkgver"
  	python2 setup.py install --root="$pkgdir/" --optimize=1
	cd "$pkgdir/usr"
	mv mingus_examples lib/python2.7/site-packages/mingus/examples
}