updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jackpanel-git / PKGBUILD
blob0894c42e20b508c1d12a18b8cf2cb787bf8452b9
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>
3 pkgname=jackpanel-git
4 pkgver=20090427
5 pkgrel=1
6 pkgdesc="A graphical control application for the JACK audio server for GNOME"
7 url="http://www.hans-baier.de/wordpress/jackpanel"
8 arch=('i686')
9 license=('GPL')
10 depends=('jack-audio-connection-kit>=0.116.2' 'libprolooks-git' 'gnome-panel' 'vala==0.6.1-1')
11 makedepends=()
12 conflicts=('jackpanel')
13 replaces=()
14 backup=()
15 install=
16 source=()
17 md5sums=()
19 _gitroot="git://repo.or.cz/jackpanel.git"
20 _gitname="jackpanel"
22 build() {
24   cd ${srcdir}
25   msg "Connecting to GIT server...."
27   if [ -d ${srcdir}/$_gitname ] ; then
28     cd $_gitname && git pull origin
29     msg "Local repository updated."
30   else
31     git clone $_gitroot $_gitname
32   fi
33   
34   
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