summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Thomsen2017-03-04 23:01:16 +0100
committerAnders Thomsen2017-03-04 23:01:16 +0100
commitd59669055dabc42c5ce243437542355fd1151e9b (patch)
tree4e010498ff2598f22a08438007de8be7128e834b
downloadaur-d59669055dabc42c5ce243437542355fd1151e9b.tar.gz
Initial commit for AUR4
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD33
-rw-r--r--pykaraoke-gst-git.install11
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..61fab4fde05
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = pykaraoke-gst-git
+ pkgdesc = A free karaoke player for Linux, FreeBSD, Windows and GP2X. GStreamer branch.
+ pkgver = 20140729
+ pkgrel = 2
+ url = http://www.kibosh.org/pykaraoke/index.php
+ install = pykaraoke-gst-git.install
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ depends = python2-pygame
+ depends = python2-numpy
+ depends = wxpython
+ depends = desktop-file-utils
+ depends = gstreamer
+ optdepends = timidity++: Midi Support
+ conflicts = pykaraoke
+ source = git+https://github.com/kelvinlawson/pykaraoke.git#branch=gstreamer
+ md5sums = SKIP
+
+pkgname = pykaraoke-gst-git
+
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/"
+}
diff --git a/pykaraoke-gst-git.install b/pykaraoke-gst-git.install
new file mode 100644
index 00000000000..e111ef94605
--- /dev/null
+++ b/pykaraoke-gst-git.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}