summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-01-30 21:14:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-01-30 21:14:44 (GMT)
commite1931279ae050e34ee6d4bc3856a68a6bd8e4b73 (patch)
treeef496c94229ab5b3ed167ebb412ea1ae34ee30de /abs/extra
parent8074c30a5c883d0459564b4208ccbcde0935ccae (diff)
downloadlinhes_pkgbuild-e1931279ae050e34ee6d4bc3856a68a6bd8e4b73.zip
linhes_pkgbuild-e1931279ae050e34ee6d4bc3856a68a6bd8e4b73.tar.gz
linhes_pkgbuild-e1931279ae050e34ee6d4bc3856a68a6bd8e4b73.tar.bz2
gtk-doc: update to 1.29
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/gtk-doc/PKGBUILD46
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
}