mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 02:54:23 +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
28 lines
695 B
Text
28 lines
695 B
Text
# Maintainer: David Demelier <markand@malikania.fr>
|
|
pkgname=zix
|
|
pkgver=0.6.2
|
|
pkgrel=0
|
|
pkgdesc="lightweight C99 portability and data structure library"
|
|
url="http://drobilla.net/category/zix"
|
|
arch="all"
|
|
license="ISC"
|
|
makedepends="meson"
|
|
subpackages="$pkgname-dev $pkgname-libs"
|
|
source="https://download.drobilla.net/zix-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson -Db_lto=true . output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
3b072f00481a34e8b900311c2dc77fd73a63a34f69ea953be6b714f5bcbdebcc3cdd81feae73b5ad2bdc09a4bac122e12d9035cfc417ca41dfe5230d1fe13d9c zix-0.6.2.tar.xz
|
|
"
|