summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 49fd52e5bc7bbdd7fdb6e91d89d4e4110a3528fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Mark Coolen <mark dot coolen at gmail dot com>
# Contributer: fkxxyz <fkxxyz@163.com>

pkgname=python-mingus
pkgver=0.6.0
_python_dir_ver=3.8
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=('python-six')
optdepends=('lilypond' 'fluidsynth')
source=("https://github.com/bspaans/python-mingus/archive/${pkgver}.tar.gz")
md5sums=('c02c316ffbea978257f5cc6a367e8f1e')

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