# Description: GTK+ Documentation Generator
# URL: https://wiki.gnome.org/DocumentationProject/GtkDoc
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: docbook-xsl glib itstool python3-pygments

name=gtk-doc
version=1.33.2
release=1
source=(https://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	meson setup build $name-$version ${PKGMK_GTK_DOC} \
		--prefix=/usr \
		--buildtype=plain

	meson compile -C build -j ${JOBS:-1}
	DESTDIR=$PKG meson install -C build

	rm -r $PKG/usr/share/help
}
