mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-09 17:24:08 +02:00
meson 1.7.0 and later don't include test build targets in the default build target. With --no-rebuild the test targets aren't build at all. Removing --no-rebuild shouldn't cause any false rebuilds since the files aren't changed between the build() and check() step. Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891 Ref https://github.com/mesonbuild/meson/pull/10413
29 lines
784 B
Text
29 lines
784 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=c-stdaux
|
|
pkgver=1.5.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 -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
30e2cc3ff8df40b2c3dc1409d47fa0f65467a853c75e500f1f973f6f2108e036601032620e40409fde58e2239b751f2736b326c11b45f2e43cc1064f341aa7b7 c-stdaux-1.5.0.tar.gz
|
|
"
|