summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 899fc0ceb9ae6f0d2152cca6a1ef7633e9dbd28d (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
25
26
# Maintainer:  Martin C. Doege <mdoege at compuserve dot com>
# Contributor: spep <speps at aur dot archlinux dot org>

pkgname=python-pysynth-git
_pkgname=PySynth
pkgver=20170611.3441e61
pkgrel=1
pkgdesc="A simple music synthesizer for Python 3"
arch=(any)
url="http://mdoege.github.io/PySynth/"
license=('GPL')
depends=('python-numpy')
makedepends=('git')
source=("git://github.com/mdoege/PySynth.git")
md5sums=('SKIP')

pkgver() {
	cd "${srcdir}/${_pkgname}"
	git log -1 --format='%cd.%h' --date=short | tr -d -
}

package() {
	cd "${srcdir}/${_pkgname}"
	python setup.py install --root="$pkgdir"
}