mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 00:34:26 +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
39 lines
806 B
Text
39 lines
806 B
Text
maintainer="fossdd <fossdd@pwned.life>"
|
|
pkgname=passes
|
|
pkgver=0.10
|
|
pkgrel=2
|
|
pkgdesc="Manage your digital passes"
|
|
url="https://github.com/pablo-s/passes"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
libadwaita
|
|
py3-gobject3
|
|
zint
|
|
"
|
|
makedepends="
|
|
appstream-glib
|
|
blueprint-compiler
|
|
desktop-file-utils
|
|
meson
|
|
zint-dev
|
|
"
|
|
subpackages="$pkgname-lang"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/pablo-s/passes/archive/refs/tags/v$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="
|
|
888a557d6afd3d85c7f923c097de312f036eb662e7b16545a37b5791533e0279117ae9ae4c78df326aeb651b1409f16f6a2ab785cb159ddb222cc9c6abe8210f passes-0.10.tar.gz
|
|
"
|