summaryrefslogtreecommitdiff
path: root/testing/c-dvar/APKBUILD
blob: 0e47080b7c532374fb4733b18b677b9eccac5182 (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=c-dvar
pkgver=1.0.0
pkgrel=0
pkgdesc="D-Bus Variant Type-System"
url="https://github.com/c-util/c-dvar"
arch="all"
license="Apache-2.0 OR LGPL-2.1-or-later"
makedepends="
	c-stdaux-dev~=1
	c-utf8-dev~=1
	meson
	"
subpackages="$pkgname-dev"
source="https://github.com/c-util/c-dvar/archive/v$pkgver/c-dvar-$pkgver.tar.gz"

build() {
	abuild-meson . output
	meson compile -j ${JOBS:-0} -C output
}

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

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

sha512sums="
a11e9cd9c5decbcc46a6ed825449c34777a8307b0cbefc864fc32cf2d063a32fc9970571caa69692bb4cc0492c1a872d0ffd332b7118d85289db1f26bb8c5644  c-dvar-1.0.0.tar.gz
"