summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/seatd/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/seatd/APKBUILD b/user/seatd/APKBUILD
new file mode 100644
index 000000000..f0b0ddc6c
--- /dev/null
+++ b/user/seatd/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Sheila Aman <sheila@vulpine.house>
+# Maintainer: Sheila Aman <sheila@vulpine.house>
+pkgname=seatd
+pkgver=0.5.0
+pkgrel=0
+pkgdesc="Seat management daemon and library"
+url="https://git.sr.ht/~kennylevinsen/seatd"
+arch="all"
+license="MIT"
+depends=""
+makedepends="cmake elogind-dev meson ninja"
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ -Dlogind=enabled \
+ . output
+ ninja -C output
+}
+
+check() {
+# Add test instructions here.
+:
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C output install
+}
+
+sha512sums="a6b1f11313411fe99e8bdd64aa493fc19bde7b0b927f21e2c3ec8a7fadc6cf2f04fcefa73fa033d971d1dc482665d3dc927ec168026289fe88b2593a45adbc0f seatd-0.5.0.tar.gz"