diff --git a/gnome-doc-utils/PKGBUILD b/gnome-doc-utils/PKGBUILD new file mode 100644 index 0000000000000000000000000000000000000000..587c95bb8e0df99872229041cc7f16dd89ada3ad --- /dev/null +++ b/gnome-doc-utils/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Jan de Groot + +pkgname=gnome-doc-utils +pkgver=0.20.10+16+gc03cc09 +pkgrel=1 +pkgdesc="Documentation utilities for Gnome" +arch=('any') +license=('GPL' 'LGPL') +depends=('libxslt' 'python2' 'docbook-xml' 'rarian') +makedepends=('intltool' gnome-common git) +url="https://www.gnome.org" +_commit=c03cc0963996934e03587af3e351c2bb9dab6b2a # master +source=("git+https://git.gnome.org/browse/gnome-doc-utils#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + rm -f m4/glib-gettext.m4 + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd "$pkgname" + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + --sysconfdir=/etc --mandir=/usr/share/man \ + --localstatedir=/var --disable-scrollkeeper + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir" install +}