1 # Maintainer: oke3 < Sekereg [at] gmx [dot] com >
2 # Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
7 pkgdesc="a branch of the official gtk-sharp/gio to get gio-sharp building on gtk-sharp 2.12"
8 url="http://github.com/mono/gio-sharp"
11 depends=('gtk-sharp-2')
12 makedepends=('git' 'pkgconfig' 'autoconf')
13 conflicts=('gio-sharp')
14 provides=('gio-sharp')
15 options=('!libtool' '!makeflags')
17 _gitroot="git://github.com/mono/gio-sharp.git"
23 msg "Connecting to GIT server...."
25 if [[ -d "$_gitname" ]]; then
26 cd "$_gitname" && git pull origin
28 git clone "$_gitroot" "$_gitname"
31 msg "GIT checkout done or server timeout"
32 msg "Starting build..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
38 ./autogen-2.22.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
44 cd "$srcdir/$_gitname-build"
46 make DESTDIR="$pkgdir" install
48 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
49 install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"