1 # Maintainer: Victor Feight <vrfeight3 at gmail dot com>
6 pkgdesc="Simple and lightweight GTK calendar (git)"
8 url="http://dmedvinsky.github.com/gsimplecal/"
12 conflicts=('gsimplecal-hg' 'gsimplecal')
14 _gitroot="http://github.com/dmedvinsky/gsimplecal.git"
19 msg "Connecting to GIT server...."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
35 ./autogen.sh || return 1
36 ./configure --prefix=/usr || return 1
38 make DESTDIR=${pkgdir} install || return 1