# Maintainer: Natanael Copa pkgname=gtk-doc pkgver=1.28 pkgrel=0 pkgdesc="Documentation tool for public library API" url="https://www.gtk.org/gtk-doc/" arch="noarch" license="GFDL" depends="docbook-xsl gnome-doc-utils perl python2 py2-six pkgconf glib-dev highlight" makedepends="rarian-dev py-libxml2 gettext itstool autoconf automake libtool" checkdepends="bc" source="https://download.gnome.org/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz 0001-tests-Label-parts-with-decimals-not-roman-numerals.patch " # it does not seem to be possible to disable tests of pdf which requires dblatex or fop # disable checks for now options="!check" builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$builddir" autoreconf -vif } build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-highlight=highlight make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="801c36802c98320496b88371b819da0026076d5e92ad115bf451e5c89424cc05e631d1145703395920350ec8cdf5389ba406f4a292a4101ccbab5b7c74b40c18 gtk-doc-1.28.tar.xz a86438a9cbbf1bb60d2aea93f10a473f3fe7814cdbf0a454ff42bea88e79f21f9e748e063335aa6332878fa8f8a1c00ef288a44631b510471cc6bb806851b391 0001-tests-Label-parts-with-decimals-not-roman-numerals.patch"