1 # Maintainer: L42y <423300@gmail.com>
2 # Contributor: teddy_beer_maniac <teddy_beer_maniac@wp.pl>
4 pkgname=gnome-common-git
7 pkgdesc="Common macros for GNOME 3(GIT Version)"
10 url="http://www.gnome.org"
11 makedepends=('autoconf' 'automake' 'subversion')
12 provides=('gnome-common')
13 conflicts=('gnome-common')
16 _gitroot=git://git.gnome.org/${_gitname}
20 msg "Connecting to GIT server...."
22 if [[ -d "$_gitname" ]]; then
23 cd "$_gitname" && git pull origin
24 msg "The local files are updated."
26 git clone "$_gitroot" "$_gitname"
29 msg "GIT checkout done or server timeout"
30 msg "Starting build..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
34 cd "$srcdir/$_gitname-build"
36 ./autogen.sh --prefix=/usr
41 cd "$srcdir/$_gitname-build"
42 make DESTDIR="$pkgdir/" install