1 # Contributor: Maƫl Leclair <mael.leclair@gmail.com>
5 pkgdesc="Personal financial management program"
7 url="http://www.grisbi.org"
9 depends=('gtk2' 'hicolor-icon-theme')
10 optdepends=('libofx: for OFX support')
16 install=(grisbi.install)
18 _gitroot="git://grisbi.git.sourceforge.net/gitroot/grisbi/grisbi"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull --rebase
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
41 ./configure --prefix=/usr
43 make DESTDIR="$pkgdir/" install