1 # Contributor: Matt Arsenault <arsenm2@rpi.edu>
6 pkgdesc="A GitX clone for GTK+/GNOME"
8 url="http://git.gnome.org/cgit/gitg/"
10 depends=('gtk2' 'git' 'gtksourceview2')
11 makedepends=('autoconf' 'git' 'gnome-common' 'intltool' 'gsettings-desktop-schemas')
13 provides=('gitg' 'gitg-git')
17 _gitroot="git://git.gnome.org/gitg"
22 msg "Connecting to git.gnome.org GIT server...."
24 if [ -d $srcdir/$_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf $srcdir/$_gitname-build
35 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
36 cd $srcdir/$_gitname-build
39 ./configure --prefix=/usr || return 1
41 make DESTDIR=$pkgdir install || return 1