# Contributor: Rasmus Thomsen # Maintainer: team/gnome pkgname=template-glib pkgver=3.36.3 pkgrel=1 pkgdesc="library for template expansion which supports calling into GObject Introspection from templates" url="https://gitlab.gnome.org/GNOME/template-glib" arch="all" license="GPL-3.0-or-later" makedepends=" bison flex glib-dev gobject-introspection-dev meson vala " subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/template-glib/${pkgver%.*}/template-glib-$pkgver.tar.xz" build() { abuild-meson \ -Db_lto=true \ . output meson compile -C output } check() { meson test --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" cd860f9e8d3338162757c650611e835c9da4713db4ee9cac79e0edf0af092c80ae72928219d423897dce2d6523e2751dfc8770ff83026a7532b337a6c42379d6 template-glib-3.36.3.tar.xz "