1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
4 pkgver=3.34.0+4+g5196521
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)
13 _commit=51965216367391583fd87d1a20cd9ba2bc4943d2 # master
14 source=("git+https://gitlab.gnome.org/GNOME/template-glib.git#commit=$_commit")
19 git describe --tags | sed 's/-/+/g'
27 arch-meson $pkgname build -D enable_gtk_doc=true
28 meson compile -C build
32 meson test -C build --print-errorlogs
36 DESTDIR="$pkgdir" meson install -C build