1 # Maintainer: oke3 < Sekereg [at] gmx [dot] com >
2 # Contributor: neuromante <lorenzo.nizzi.grifi@gmail.com>
4 pkgname=gudev-sharp-git
7 pkgdesc="Gudev mono bindings"
9 url="http://github.com/mono/gudev-sharp"
11 depends=('gtk-sharp-2')
13 provides=('gudev-sharp')
14 conflicts=('gudev-sharp')
15 options=('!makeflags')
17 _gitroot="git://github.com/mono/gudev-sharp.git"
18 _gitname="gudev-sharp"
22 msg "Connecting to GIT server...."
24 if [[ -d "$_gitname" ]]; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone "$_gitroot" "$_gitname"
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
44 cd "$srcdir/$_gitname-build"
46 make DESTDIR="$pkgdir" install