summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnders Thomsen2017-03-04 23:01:16 +0100
committerAnders Thomsen2017-03-04 23:01:16 +0100
commitd59669055dabc42c5ce243437542355fd1151e9b (patch)
tree4e010498ff2598f22a08438007de8be7128e834b /PKGBUILD
downloadaur-d59669055dabc42c5ce243437542355fd1151e9b.tar.gz
Initial commit for AUR4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a72a4bafd19
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Anders Thomsen <mail at andersthomsen dot dk>
+
+pkgname=pykaraoke-gst-git
+pkgver=20140729
+pkgrel=2
+pkgdesc="A free karaoke player for Linux, FreeBSD, Windows and GP2X. GStreamer branch."
+arch=('i686' 'x86_64')
+url="http://www.kibosh.org/pykaraoke/index.php"
+license=('LGPL')
+depends=('python2-pygame' 'python2-numpy' 'wxpython' 'desktop-file-utils' 'gstreamer')
+optdepends=('timidity++: Midi Support')
+makedepends=('git')
+conflicts=('pykaraoke')
+install="$pkgname.install"
+source=("git+https://github.com/kelvinlawson/pykaraoke.git#branch=gstreamer")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$srcdir/pykaraoke"
+
+ # python2 shebang
+ sed -i "s|env python|&2|" `grep -rl "env python"`
+}
+
+build() {
+ cd "$srcdir/pykaraoke"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/pykaraoke"
+ python2 setup.py install --prefix=/usr --root="$pkgdir/"
+}