# Maintainer: Natanael Copa pkgname=gnome-doc-utils pkgver=0.18.1 pkgrel=1 pkgdesc="Documentation utilities for Gnome" url="http://www.gnome.org" arch="x86 x86_64" license="GPL LGPL" depends="python docbook-xml rarian py-libxml2 libxslt" makedepends="libxslt-dev libxml2-dev perl-xml-parser rarian-dev pkgconfig gettext-dev intltool" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2 xslt.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" patch -p1 -i "$srcdir"/xslt.patch } build() { cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-scrollkeeper || return 1 # broken with parallell builds make -j1 || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="c98ca796f3f2938a1fced7476e65351e gnome-doc-utils-0.18.1.tar.bz2 6aa99cdd5dec2eb887f7ca4976ec840e xslt.patch"