summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMartin Doege2017-06-11 21:12:20 +0200
committerMartin Doege2017-06-11 21:12:20 +0200
commitcad93f70e87993b84ff4ef9eb220596f95791394 (patch)
treee0d796723b5eb4241ffb82d82c877b951b8837f5 /PKGBUILD
downloadaur-python-pysynth-git.tar.gz
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..899fc0ceb9a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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"
+}
+