mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-16 14:12:56 +01:00
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# Contributor: Martijn Braam <martijn@brixit.nl>
|
|
pkgname=logbookd
|
|
pkgver=0.1.2
|
|
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 ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild -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="
|
|
de0d4617c8e5b5d967e56952fd481adc23c70ad12000ba08ca2e3aaf74f34517f0e2484ccbc24e97f774d12dbc5e6746051913836554ee0fb84748daacfadfc0 logbookd-0.1.2.tar.gz
|
|
6590cb54a2c5613629f729f78b3b8e427808028d9b42462391eb74fa4d19fd5239d06eb3fc026d174f615e46b405d9ae74590ecf622459fc40664620372d5adf logbookd.initd
|
|
5e8513643de4ba9e16dc7e7b541aa26e6b4e840b0fd07d3b72c6b0f687297cb80672068b8dec3e488637b16e53f77502f481d36351b40236d17ee32b6313ebab logbookd.confd
|
|
"
|