aports/community/c-utf8/APKBUILD
Sertonix 6bd45b53fb */*: remove --no-rebuild from meson test
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
2025-05-09 20:48:14 +00:00

32 lines
768 B
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=c-utf8
pkgver=1.1.0
pkgrel=0
pkgdesc="UTF-8 Handling in Standard ISO-C11"
url="https://github.com/c-util/c-utf8"
arch="all"
license="Apache-2.0 OR LGPL-2.1-or-later"
makedepends="
c-stdaux-dev~1
meson
"
subpackages="$pkgname-dev"
source="https://github.com/c-util/c-utf8/archive/v$pkgver/c-utf8-$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="
786d7b7946afcdce154f5d809ee5499640170405b68340a2a4a74a550a49b6f3bd352b35020c8cb5ac2d39ed69ef97cb73c9934b1e5381998c59e71683ead9ef c-utf8-1.1.0.tar.gz
"