1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
2 # Contributor: hm_b < holger at music-nerds dot net>
3 pkgname=libprolooks-git
6 pkgdesc="a custom widget library for Gtk+ designed for audio applications"
7 url="http://www.hansfbaier.de/wordpress/libprolooks/"
10 depends=('gtk2' 'vala==0.6.1-1')
12 conflicts=('libprolooks')
20 _gitroot="git://repo.or.cz/libprolooks.git"
21 _gitname="libprolooks"
26 msg "Connecting to GIT server...."
28 if [ -d ${srcdir}/$_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "Local repository updated."
32 git clone $_gitroot $_gitname
36 msg "GIT checkout done or server timeout"
38 msg "Removing old build directory..."
39 rm -Irf ${srcdir}/$_gitname-build
41 msg "Creating new build directory..."
42 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
44 msg "Starting make..."
45 cd ${srcdir}/$_gitname-build
46 ./waf configure --prefix=/usr || return 1
47 ./waf build || return 1
48 ./waf install --destdir=$startdir/pkg || return 1