1 # Maintainer: moostik <mooostik_at_gmail.com>
6 pkgdesc="A GNOME Spreadsheet Program (Git version)"
8 url="http://www.gnome.org/projects/gnumeric/"
10 conflicts=('gnumeric')
11 depends=('goffice-git' 'dconf' 'desktop-file-utils' 'hicolor-icon-theme')
12 makedepends=('intltool' 'gnome-doc-utils' 'python2-gobject2' 'psiconv')
13 optdepends=('python2-gobject2: for python plugin support'
14 'psiconv: for Psion 5 file support')
15 install=gnumeric-git.install
18 _gitroot="git://git.gnome.org/gnumeric"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
40 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
41 --disable-schemas-compile --enable-ssindex
46 cd "$srcdir/$_gitname-build"
47 make DESTDIR="${pkgdir}" install