summaryrefslogtreecommitdiff
path: root/community/blueprint-compiler/APKBUILD
blob: 31ce2a3f18dc93c7a1c5bc5ef89c63363aad65b7 (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
28
29
30
31
32
33
34
35
36
37
# Contributor: Newbyte <newbie13xd@gmail.com>
# Maintainer: Newbyte <newbie13xd@gmail.com>
pkgname=blueprint-compiler
pkgver=0.2.0
pkgrel=0
pkgdesc="Markup language for GTK user interfaces"
url="https://jwestman.pages.gitlab.gnome.org/blueprint-compiler"
arch="noarch !riscv64 !s390x"
license="LGPL-3.0-or-later"
depends="
	gobject-introspection-dev
	gtk4.0
	python3
	py3-gobject3
	"
makedepends="meson"
checkdepends="gtk4.0-dev"
subpackages="$pkgname-dev"
source="https://gitlab.gnome.org/jwestman/blueprint-compiler/-/archive/v$pkgver/blueprint-compiler-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

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="
d8acdc0f31005215e8945d6b330cce0903d06ad849258a2e2819529908ac864190b8b653ddf0ffd8ff36e4e958711c8a07269eb424ec32a3800faa29af8edb85  blueprint-compiler-v0.2.0.tar.gz
"