blob: 193cd2f50062b40a1910da87ba2cdf264c776285 (
plain) (
tree)
|
|
# Maintainer:
pkgname=gtk-doc
pkgver=1.29
pkgrel=2
pkgdesc="Documentation tool for public library API"
url="https://www.gtk.org/gtk-doc/"
arch="noarch"
license="GFDL"
depends="docbook-xsl perl python3 py3-six pkgconf glib-dev highlight"
makedepends="rarian-dev py-libxml2 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"
prepare() {
cd "$builddir"
autoreconf -vif
}
build() {
cd "$builddir"
export PYTHON="/usr/bin/python3"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-highlight=highlight
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="97e17be2563c2c12a04394633feaf6591918968a794c38e945a65be9c2de2bed5ce586592a7fe396a1874b8e43e63d6380c6d1a3193ccb7f9bb3d3a331526421 gtk-doc-1.29.tar.xz
a86438a9cbbf1bb60d2aea93f10a473f3fe7814cdbf0a454ff42bea88e79f21f9e748e063335aa6332878fa8f8a1c00ef288a44631b510471cc6bb806851b391 0001-tests-Label-parts-with-decimals-not-roman-numerals.patch"
|