1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="LV2 synth plugin for plucking sounds."
9 url="https://github.com/magnusjonsson/qin"
11 groups=('lv2-plugins')
17 md5sums=('d5b013e0769fa9fce25c00909f19af6a')
19 _gitroot=https://github.com/magnusjonsson/$_pkg.git
24 msg "Connecting to GIT server...."
26 if [[ -d "$_gitname" ]]; then
27 cd "$_gitname" && git pull origin
28 msg "The local files are updated."
30 git clone "$_gitroot" "$_gitname"
33 msg "GIT checkout done or server timeout"
34 msg "Starting build..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
45 sed -i "s|/usr/local|$pkgdir/usr|" Makefile
47 # fix schema to work with zynjacku
48 sed -e '2,3d;1,7!d;' \
49 -e '1a@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.' \
50 -e '7a\ \ rdfs:seeAlso <qin.ttl> .' \
57 cd "$srcdir/$_gitname-build"
62 install -Dm644 "$srcdir/$_pkg.ttl" "$pkgdir/usr/lib/lv2/mj-qin.lv2"
65 # vim:set ts=2 sw=2 et: