blob: f905c60291e55a535cbf5b8c74d916b6e3504811 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=seatd
pkgver=0.8.0
pkgrel=1
pkgdesc="Seat management daemon and library"
url="https://git.sr.ht/~kennylevinsen/seatd"
arch="all"
license="MIT"
depends=""
makedepends="cmake elogind-dev meson scdoc"
subpackages="$pkgname-dev $pkgname-doc $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz
$pkgname.confd
$pkgname.initd
"
build() {
# https://todo.sr.ht/~kennylevinsen/seatd/10
# https://www.openwall.com/lists/musl/2020/01/20/3
export CFLAGS="$CFLAGS -Wno-error=overflow"
meson setup \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--buildtype=release \
. build
meson compile -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir"/etc/init.d/seatd
install -Dm644 "$srcdir/$pkgname.confd" "$pkgdir"/etc/conf.d/seatd
}
sha512sums="93b1e5c170564ce9654e4df9985af95cb505274b36e950998bb1f16803d2d46712140eded2bdd8d5e85aec62070afd9c224184276d79a0ff0813408dfc472db7 seatd-0.8.0.tar.gz
1ee755b462455fb20ee2f56b8d1a0f3a26eb9aed34eb6126e322243f9288b23577aff40e5a2c02449f349282af79eafd232b9e77cd196daa92ee8a9fcae2ec16 seatd.confd
54e1f20a37945f95b184a26dc9ef5cfe5ddcce4445672b04394465ba16d319f87c24c1b347400a0189c4f3de9bae1ee0a95c1dee94a0d677c9c980fc238fa2df seatd.initd"
|