# $Id: PKGBUILD 24717 2009-01-20 09:52:00Z douglas $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gnome-doc-utils
pkgver=0.20.2
pkgrel=2
pkgdesc="Documentation utilities for Gnome"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
depends=('libxslt>=1.1.24' 'python2>=2.6' 'docbook-xml' 'rarian>=0.8.1')
makedepends=('pkgconfig' 'perlxml')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.20/${pkgname}-${pkgver}.tar.bz2)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
              --localstatedir=/var --disable-scrollkeeper || return 1
  make || return 1
}
package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install || return 1
}
md5sums=('920914c13c57e67616c6ff8594579786')