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
17 _commit=f4e68f3f0134becbdd737eaac85caaa0a8e43a66 # tags/43.0^0
18 source=("git+https://gitlab.gnome.org/GNOME/devhelp.git#commit=$_commit")
23 git describe --tags | sed 's/\.alpha/alpha/;s/[^-]*-g/r&/;s/-/+/g'
38 arch-meson devhelp build "${meson_options[@]}"
39 meson compile -C build
43 meson test -C build --print-errorlogs
49 meson install -C build --destdir "$pkgdir"
52 mkdir -p docs/usr/share
53 mv -t docs/usr/share "$pkgdir"/usr/share/doc
56 package_devhelp-docs() {
57 pkgdesc+=" (documentation)"
60 mv -t "$pkgdir" docs/*
63 # vim:set sw=2 sts=-1 et: