1 # Maintainer: moostik <mooostik_at_gmail.com>
6 pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+ (Git release)"
8 url="http://www.gnome.org"
12 depends=('gtk3' 'libgsf' 'lasem-devel>=0.3.1' 'libspectre')
13 makedepends=('intltool' 'gtk-doc')
15 _gitroot="git://git.gnome.org/goffice"
16 _gitname="goffice-git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
38 --localstatedir=/var --disable-static \
44 cd "$srcdir/$_gitname-build"
45 make DESTDIR="${pkgdir}" install