2 # Maintainer: James Rayner <james@archlinux.org>
3 # Maintainer: Alexander Fehr <pizzapunk gmail com>
4 # Contributor: Sebastian Sareyko <public@nooms.de>
5 # -git version: Berseker <berseker86@gmail.com>
11 pkgdesc="Background browser and setter for X windows - git version"
12 arch=('i686' 'x86_64')
13 url="http://projects.l3ib.org/nitrogen/"
16 depends=('gtkmm' 'hicolor-icon-theme' 'librsvg')
17 conflicts=('nitrogen')
20 install=nitrogen-git.install
22 _gitroot=https://github.com/l3ib/nitrogen.git
27 msg "Connecting to GIT server...."
29 if [[ -d "$_gitname" ]]; then
30 cd "$_gitname" && git pull origin glade
31 msg "The local files are updated."
33 git clone "$_gitroot" "$_gitname"
36 msg "GIT checkout done or server timeout"
37 msg "Starting build..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
51 ./configure --prefix=/usr
56 cd "$srcdir/$_gitname-build"
57 make DESTDIR="$pkgdir/" install