1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Link Dupont <link@subpop.net>
6 pkgname=(devhelp devhelp-docs)
9 pkgdesc="API documentation browser for GNOME"
10 url="https://wiki.gnome.org/Apps/Devhelp"
13 depends=(webkit2gtk-4.1)
14 makedepends=(git appstream-glib gobject-introspection meson yelp-tools
16 _commit=f4e68f3f0134becbdd737eaac85caaa0a8e43a66 # tags/43.0^0
17 source=("git+https://gitlab.gnome.org/GNOME/devhelp.git#commit=$_commit")
22 git describe --tags | sed 's/\.alpha/alpha/;s/[^-]*-g/r&/;s/-/+/g'
37 arch-meson devhelp build "${meson_options[@]}"
38 meson compile -C build
42 meson test -C build --print-errorlogs
48 meson install -C build --destdir "$pkgdir"
51 mkdir -p docs/usr/share
52 mv -t docs/usr/share "$pkgdir"/usr/share/doc
55 package_devhelp-docs() {
56 pkgdesc+=" (documentation)"
59 mv -t "$pkgdir" docs/*
62 # vim:set sw=2 sts=-1 et: