diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/seatd/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/seatd/MAKEPKG')
| -rw-r--r-- | opt/seatd/MAKEPKG | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/opt/seatd/MAKEPKG b/opt/seatd/MAKEPKG new file mode 100644 index 0000000..e24d94d --- /dev/null +++ b/opt/seatd/MAKEPKG @@ -0,0 +1,61 @@ +#!/bin/mkpkg +# description: Minimal seat management daemon +# url: https://git.sr.ht/~kennylevinsen/seatd + +name=seatd +version=0.9.3 +release=2 +depends=() +makedeps=(scdoc) +groups=(seatd) +services=(seatd) +source=(https://github.com/kennylevinsen/seatd/archive/$version/$name-$version.tar.gz) + +sha256sums=( + "302564d54d8e28191fadfd734f2675ecb0c9e0615a58011b89ef15dfa4dbaa96" +) + +build() { + cd $name-$version + + meson setup build \ + --prefix=/usr \ + --libdir=lib \ + --buildtype=plain \ + --wrap-mode=nodownload \ + -D b_lto=true \ + -D b_pie=true \ + -D libseat-builtin=enabled \ + -D man-pages=enabled \ + -D werror=false + + meson compile -C build + DESTDIR=$PKG meson install -C build +} + +post_build() { + # runit service + install -d $PKG/etc/sv/seatd/log + + printf '%s\n' \ + '#!/bin/sh' \ + 'exec 2>&1' \ + 'exec seatd -g seatd' \ + > $PKG/etc/sv/seatd/run + + printf '%s\n' \ + '#!/bin/sh' \ + 'mkdir -p /var/log/seatd' \ + 'exec svlogd -tt /var/log/seatd' \ + > $PKG/etc/sv/seatd/log/run + + chmod 755 $PKG/etc/sv/seatd/run + chmod 755 $PKG/etc/sv/seatd/log/run +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
