aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mir-core/APKBUILD
blob: 3d3c865fe8d048326d616a3c54fbb5485c5a78de (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=mir-core
pkgver=1.1.7
pkgrel=0
pkgdesc="Base software building blocks and conventions"
url="https://github.com/libmir/mir-core"
arch="x86_64 aarch64" # ldc
license="BSL-1.0"
makedepends="meson ldc ldc-runtime"
subpackages="$pkgname-dev"
source="https://github.com/libmir/mir-core/archive/v$pkgver/mir-core-$pkgver.tar.gz"

build() {
	abuild-meson \
		-Dwith_test=true \
		. 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="aa7ca3fabb6d318fb5c2e7b0abef1ee0ba31e6dce31a4e03c555b12fe3a313e5a0afaa7c7d0f5aca2faea31f5172cdffa8ce98ab7da029cb6b919c2d0639925c  mir-core-1.1.7.tar.gz"