1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Contributor: hm_b <holger at music-nerds.net>
6 pkgdesc="A graphical control application for the JACK audio server for GNOME"
7 url="http://www.hans-baier.de/wordpress/jackpanel"
10 depends=('jack-audio-connection-kit>=0.116.2' 'libprolooks-git' 'gnome-panel' 'vala==0.6.1-1')
12 conflicts=('jackpanel')
19 _gitroot="git://repo.or.cz/jackpanel.git"
25 msg "Connecting to GIT server...."
27 if [ -d ${srcdir}/$_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "Local repository updated."
31 git clone $_gitroot $_gitname
35 msg "GIT checkout done or server timeout"
37 msg "Removing old build directory..."
38 rm -Irf ${srcdir}/$_gitname-build
40 msg "Creating new build directory..."
41 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
43 msg "Starting make..."
45 cd ${srcdir}/$_gitname-build
47 ./waf configure --prefix=/usr || return 1
48 ./waf build || return 1
49 ./waf install --destdir=$startdir/pkg || return 1