aboutsummaryrefslogtreecommitdiffstats
path: root/community/template-glib/APKBUILD
blob: 2b346345f6ec3e7f27f8f60e75e9172a68feda30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=template-glib
pkgver=3.34.0
pkgrel=2
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() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="b89cc9890fd80a6858b34139ce1cd2394a43f598629e59f224f4db798a17457be9a2aa8307828af3591108ed6e9a953936a74df15ed1c8c8af2100306db5a497  template-glib-3.34.0.tar.xz"