1 # Maintainer: oke3 < Sekereg [at] gmx [dot] com >
3 pkgname=dbus-sharp-glib-git
6 pkgdesc="C# GLib implementation of D-Bus"
7 url="http://github.com/mono/dbus-sharp-glib"
10 depends=('dbus-sharp-git')
12 options=('!makeflags')
13 conflicts=('dbus-sharp-glib')
14 provides=('dbus-sharp-glib')
16 _gitroot="git://github.com/mono/dbus-sharp-glib.git"
17 _gitname="dbus-sharp-glib"
22 msg "Connecting to GIT server...."
24 if [[ -d "$_gitname" ]]; then
25 cd "$_gitname" && git pull origin && cd "$srcdir"
27 git clone "$_gitroot" "$_gitname"
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 rm -rf "$_gitname-build"
34 git clone "$_gitname" "$_gitname-build"
37 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
43 cd "$srcdir/$_gitname-build"
45 make DESTDIR="$pkgdir" install
46 install -D COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"