1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="Collection of tools for building and converting documentation"
8 url="https://gitlab.gnome.org/GNOME/yelp-tools"
10 depends=(yelp-xsl python-lxml itstool libxml2 docbook-xsl mallard-ducktype)
11 makedepends=(git meson)
13 _commit=fe5ff72ca46fba425143e5dc67d660703c86145f # tags/42.1^0
14 source=("git+https://gitlab.gnome.org/GNOME/yelp-tools.git#commit=$_commit")
19 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
27 arch-meson $pkgname build -D help=true
28 meson compile -C build
32 meson test -C build --print-errorlogs
36 meson install -C build --destdir "$pkgdir"