summaryrefslogtreecommitdiff
path: root/user/seatd
diff options
context:
space:
mode:
authorSheila Aman <sheila@vulpine.house>2021-07-21 10:51:13 +0000
committerSheila Aman <sheila@vulpine.house>2021-07-21 11:00:59 +0000
commit7816627c44f9399dbe77108790a37e3b1d94dc9b (patch)
tree4e79b73ccae0e899053a8a217fa4626fad773e6d /user/seatd
parentd0a9b43374f9cfd26b03025a4d5a4b1f75d96864 (diff)
downloadpackages-7816627c44f9399dbe77108790a37e3b1d94dc9b.tar.gz
packages-7816627c44f9399dbe77108790a37e3b1d94dc9b.tar.bz2
packages-7816627c44f9399dbe77108790a37e3b1d94dc9b.tar.xz
packages-7816627c44f9399dbe77108790a37e3b1d94dc9b.zip
user/seatd: new package
Diffstat (limited to 'user/seatd')
-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"