1 # Contributor: Will Chappell <mr.chapendi@gmail.com>
3 pkgname=dbus-c++-gitorious
6 pkgdesc="dbus-c++ attempts to provide a C++ API for D-BUS. Alternative, Gitorious-hosted fork."
7 url="http://freedesktop.org/wiki/Software/dbus-c++"
10 depends=('dbus>=1.2.0' 'glib2')
11 makedepends=('git' 'autoconf' 'automake')
15 _gitroot="git://gitorious.org/dbus-cplusplus/mainline.git"
21 msg "Connecting to GIT server...."
23 if [ -d "$srcdir"/$_gitname ] ; then
24 cd $_gitname && git-pull origin
25 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 cp -r "$srcdir"/$_gitname "$srcdir"/$_gitname-build
33 cd "$srcdir"/$_gitname-build
35 ./autogen.sh --prefix=/usr --disable-static --enable-glib
38 make DESTDIR="$pkgdir" install || return 1
40 rm -rf "$srcdir"/$_gitname-build