aports/community/logbookd/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

41 lines
1.2 KiB
Text

# Contributor: Martijn Braam <martijn@brixit.nl>
# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=logbookd
pkgver=0.2.4
pkgrel=0
pkgdesc="sqlite backed syslogd implementation"
url="https://git.sr.ht/~martijnbraam/logbookd"
arch="all"
license="MIT"
subpackages="$pkgname-doc $pkgname-openrc"
source="
$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/logbookd/archive/$pkgver.tar.gz
logbookd.initd
logbookd.confd
"
makedepends="cmake meson sqlite-dev util-linux-dev scdoc"
build() {
abuild-meson . output
meson compile -C output
}
check() {
meson test -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -m755 -D "$srcdir"/logbookd.initd \
"$pkgdir"/etc/init.d/logbookd
install -m644 -D "$srcdir"/logbookd.confd \
"$pkgdir"/etc/conf.d/logbookd
}
sha512sums="
a0edccb7bea46b86f22eadc835d4187a2cacdb38af7b66e60e83b6fdd7d6761dd25dacf3b98993fe35e24704806ea8a9a0d325be6390399867105bf1332505d9 logbookd-0.2.4.tar.gz
6590cb54a2c5613629f729f78b3b8e427808028d9b42462391eb74fa4d19fd5239d06eb3fc026d174f615e46b405d9ae74590ecf622459fc40664620372d5adf logbookd.initd
f06496703895cf9c3ea1c904aedd9aea89f7ba476dda56227808f2a24032273aef5640ed9f2ee47351b8e955e66a5e0cb3c07bc5a73e6211e1e7103893b9551a logbookd.confd
"