[arch-commits] Commit in seatd/trunk (PKGBUILD sysuser.conf)

Brett Cornwall ainola at gemini.archlinux.org
Wed May 11 04:54:24 UTC 2022


    Date: Wednesday, May 11, 2022 @ 04:54:23
  Author: ainola
Revision: 1198277

Add upstream's systemd service and create a seat group

Added:
  seatd/trunk/sysuser.conf
Modified:
  seatd/trunk/PKGBUILD

--------------+
 PKGBUILD     |   15 ++++++++++++---
 sysuser.conf |    1 +
 2 files changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-11 04:04:38 UTC (rev 1198276)
+++ PKGBUILD	2022-05-11 04:54:23 UTC (rev 1198277)
@@ -2,7 +2,7 @@
 
 pkgname=seatd
 pkgver=0.6.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A minimal seat management daemon, and a universal seat management library"
 arch=(x86_64)
 url="https://sr.ht/~kennylevinsen/seatd/"
@@ -19,8 +19,12 @@
     'systemd-libs'
 )
 options=(debug)
-source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz")
-sha256sums=('3d4ac288114219ba7721239cafee7bfbeb7cf8e1e7fd653602a369e4ad050bd8')
+source=(
+    "$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz"
+    "sysuser.conf"
+)
+sha256sums=('3d4ac288114219ba7721239cafee7bfbeb7cf8e1e7fd653602a369e4ad050bd8'
+            'e833292adf5da25b5258a5209c258f0e4c12e1d6fe81cf228fd0cfb575080d78')
 build() {
     mkdir build
     meson --prefix=/usr \
@@ -41,4 +45,9 @@
 package() {
     DESTDIR="$pkgdir/" ninja -C build install
     install -Dm644 "seatd-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
+
+    # Allow users in the "seat" group to access seatd
+    install -Dm644 "seatd-$pkgver/contrib/systemd/seatd.service" \
+            -t "$pkgdir/usr/lib/systemd/system/"
+    install -Dm644 "sysuser.conf" "$pkgdir/usr/lib/sysusers.d/seatd.conf"
 }

Added: sysuser.conf
===================================================================
--- sysuser.conf	                        (rev 0)
+++ sysuser.conf	2022-05-11 04:54:23 UTC (rev 1198277)
@@ -0,0 +1 @@
+g seat - -



More information about the arch-commits mailing list