summaryrefslogtreecommitdiff
path: root/testing/c-stdaux/APKBUILD
blob: 05e64a5502de669d1a1acf1c1193c2b3a3aba777 (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=c-stdaux
pkgver=1.1.0
pkgrel=0
pkgdesc="Auxiliary macros and functions for the C standard library"
url="https://github.com/c-util/c-stdaux"
arch="noarch"
license="Apache-2.0 OR LGPL-2.1-or-later"
makedepends="meson"
subpackages="$pkgname-dev"
source="https://github.com/c-util/c-stdaux/archive/v$pkgver/c-stdaux-$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="
667e436e599249ed7d4f2e85dd39859eb3f2054d2f04b8fc9d64ddd75e40ff1724ae63a0327c5df1fab1f125ae084ecfced3767d84872493edac93eff2b6fa8e  c-stdaux-1.1.0.tar.gz
"