1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="A templating library for GLib"
7 url="https://gitlab.gnome.org/GNOME/template-glib"
10 depends=(glib2 gobject-introspection-runtime)
11 makedepends=(git meson vala gobject-introspection gtk-doc)
12 provides=(libtemplate_glib-1.0.so)
14 _commit=5d2b2e9c9fc26e687cb2b0720eaae620d66e54a3 # tags/3.34.1^0
15 source=("git+https://gitlab.gnome.org/GNOME/template-glib.git#commit=$_commit")
20 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
28 arch-meson $pkgname build -D enable_gtk_doc=true
29 meson compile -C build
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"