blob: fc2e169b3e913537984b607c20bb03ca9340c431 (
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
27
28
29
30
31
32
33
|
# Maintainer: Anders Thomsen <mail at andersthomsen dot dk>
pkgname=pykaraoke-gst-git
pkgver=20180417
pkgrel=1
pkgdesc="A free karaoke player for Linux, FreeBSD, Windows. GStreamer branch."
arch=('i686' 'x86_64')
url="http://www.kibosh.org/pykaraoke/index.php"
license=('LGPL')
depends=('python2-pygame' 'python2-numpy' 'python2-wxpython3' 'desktop-file-utils' 'gst-plugins-good' 'gst-plugins-bad' 'gst-plugins-ugly')
optdepends=('timidity++: Midi Support')
makedepends=('git')
conflicts=('pykaraoke')
install="$pkgname.install"
source=("git+https://github.com/AThomsen/pykaraoke.git#branch=gstreamer-1.0")
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/"
}
|