mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-13 18:13:15 +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
859 B
Text
29 lines
859 B
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=jose
|
|
pkgver=14
|
|
pkgrel=0
|
|
pkgdesc="C-language implementation of Javascript Object Signing and Encryption"
|
|
url="https://github.com/latchset/jose"
|
|
license="Apache-2.0"
|
|
arch="all"
|
|
makedepends="meson zlib-dev jansson-dev openssl-dev>3 docbook-xsl-nons asciidoc"
|
|
subpackages="$pkgname-doc lib$pkgname:libs $pkgname-dev"
|
|
source="https://github.com/latchset/jose/releases/download/v$pkgver/jose-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson . build
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C build
|
|
}
|
|
|
|
sha512sums="
|
|
2948c001c2046cc35283564149cf3c670d2272929549796506c4cebd003eae115a539d96129382f803d6634954f1fc48f4bf8bc34e823010fb49dc0b52b3199e jose-14.tar.xz
|
|
"
|