diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/gtk-doc/PKGBUILD | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/abs/extra/gtk-doc/PKGBUILD b/abs/extra/gtk-doc/PKGBUILD index 2f9a6f1..6d710d3 100644 --- a/abs/extra/gtk-doc/PKGBUILD +++ b/abs/extra/gtk-doc/PKGBUILD @@ -1,27 +1,43 @@ -# $Id: PKGBUILD 139346 2011-10-01 18:59:04Z ibiru $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=gtk-doc -pkgver=1.18 +pkgver=1.29 pkgrel=1 pkgdesc="Documentation tool for public library API" -arch=('any') -license=('GPL' 'FDL') -depends=('docbook-xsl' 'gnome-doc-utils' 'perl') -makedepends=('pkgconfig' 'jade') -optdepends=('jade: SGML support') -url="http://www.gtk.org/gtk-doc/" -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('785b591c561be1c8206f0d2575dc63558ea6199c3afe49cbc4efde94a6629a20') +url="https://www.gtk.org/gtk-doc/" +arch=(any) +license=(GPL FDL) +depends=(docbook-xsl docbook-xml source-highlight glib2-docs python-lxml + python-pygments python-anytree) +makedepends=(dblatex git yelp-tools) +checkdepends=(bc gtk3 python-six) +optdepends=('dblatex: PDF support') +_commit=7db567e83fe5d2d0659560c6dfb25ee27b338140 # tags/GTK_DOC_1_29^0 +source=("git+https://gitlab.gnome.org/GNOME/gtk-doc.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed -e 's/GTK_DOC_//' -e 's/_/\./g' -e 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" - export PYTHON=/usr/bin/python2 - ./configure --prefix=/usr + cd $pkgname + ./configure --prefix=/usr --disable-static make } +check() { + cd $pkgname + make check +} + package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd $pkgname + make DESTDIR="$pkgdir" install } |