# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=template-glib pkgver=3.34.0 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="meson vala gobject-introspection-dev glib-dev flex bison" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/template-glib/${pkgver%.*}/template-glib-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=debugoptimized \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="b89cc9890fd80a6858b34139ce1cd2394a43f598629e59f224f4db798a17457be9a2aa8307828af3591108ed6e9a953936a74df15ed1c8c8af2100306db5a497 template-glib-3.34.0.tar.xz"