2 # Maintainer: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Documentation tool for public library API"
10 depends=('docbook-xsl' 'gnome-doc-utils' 'perl')
11 makedepends=('pkgconfig' 'jade')
12 optdepends=('jade: SGML support')
13 url="http://www.gtk.org/gtk-doc/"
16 _gitroot="git://git.gnome.org/gtk-doc"
21 msg "Connecting to GIT server...."
23 if [ -d "$srcdir/$_gitname" ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 cd "${srcdir}/${_gitname}"
34 export PYTHON=/usr/bin/python2
36 ./configure --prefix=/usr
41 cd "${srcdir}/${_gitname}"
42 make DESTDIR="${pkgdir}" install