diff options
Diffstat (limited to 'opt/seatd')
| -rw-r--r-- | opt/seatd/.footprint | 27 | ||||
| -rw-r--r-- | opt/seatd/.signature | 6 | ||||
| -rw-r--r-- | opt/seatd/MAKEPKG | 61 |
3 files changed, 94 insertions, 0 deletions
diff --git a/opt/seatd/.footprint b/opt/seatd/.footprint new file mode 100644 index 0000000..9fe5e52 --- /dev/null +++ b/opt/seatd/.footprint @@ -0,0 +1,27 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/sv/ +drwxr-xr-x root/root etc/sv/seatd/ +-rwxr-xr-x root/root etc/sv/seatd/run +drwxr-xr-x root/root etc/sv/seatd/log/ +-rwxr-xr-x root/root etc/sv/seatd/log/run +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/seatd +-rwxr-xr-x root/root usr/bin/seatd-launch +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libseat.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libseat.so.1 +lrwxrwxrwx root/root usr/lib/libseat.so -> libseat.so.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libseat.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/seatd-launch.1.gz +-rw-r--r-- root/root usr/share/man/man1/seatd.1.gz +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwxr-xr-x root/root var/lib/pkg/ +drwxr-xr-x root/root var/lib/pkg/meta/ +-rw-r--r-- root/root var/lib/pkg/meta/seatd diff --git a/opt/seatd/.signature b/opt/seatd/.signature new file mode 100644 index 0000000..cbb1cc2 --- /dev/null +++ b/opt/seatd/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mO/4EvqHlC7Y1dAVfCjUtAtqT9TFexZevg39sUSQCzn7gwT78QlU/QKdT9ldw/S5PJfvT62yHQrCgmfGbgGbCAM= + +SHA256 (MAKEPKG) = b0c7daa78230b8ed99a075e3c0d8299e8d4c3043616b5a9d58c7ebe72e2cad7a +SHA256 (.footprint) = 0b885086e3eb4504c2b364e713d0af86ea0cdd21ce00b45bfddc20160665bab9 +SHA256 (seatd-0.9.3.tar.gz) = 302564d54d8e28191fadfd734f2675ecb0c9e0615a58011b89ef15dfa4dbaa96 +SHA256 (seatd#0.9.3-2.pkg.tar.gz) = e828ab3f62c4944175d7d2a90c57ea79864abb66ec1d44521a1004560f25a72d 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 |
