1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="A session management system for JACK applications on GNU/Linux."
9 url="http://ladish.org/"
11 depends=('jackdbus' 'dbus-glib' 'laditools-git' 'flowcanvas<=0.7.1' 'a2jmidid')
12 makedepends=('git' 'python2')
13 provides=("$_p=0.4" 'lash')
14 conflicts=("$_p" 'lash')
15 install="$pkgname.install"
17 _gitroot="git://repo.or.cz/$_p.git"
22 msg "Connecting to GIT server...."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 git clone $_gitroot $_gitname
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
43 export PYTHON=/usr/bin/python2
44 sed -i "s|env python|&2|" ${_p}_control
47 sed -i "s|\(RELEASE = \).*|\1True|" wscript
49 python2 waf configure --prefix=/usr \
56 cd "$srcdir/$_gitname-build"
58 python2 waf install --destdir="$pkgdir/"