1 # Contributor: mariusz - myswiat <my.swiat@o2.pl>
3 pkgname=gnome-backgrounds-git
6 pkgdesc="Background images for the GNOME desktop"
8 url="http://gnome.org/"
17 _gitroot="http://git.gnome.org/browse/gnome-backgrounds"
18 _gitname="gnome-backgrounds"
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 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
35 cd $srcdir/$_gitname-build
38 ./autogen.sh -prefix=/usr
40 make DESTDIR=$pkgdir install
42 rm -rf $srcdir/$_gitname-build