summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonsystemd/sddm-openrc/PKGBUILD19
-rw-r--r--nonsystemd/sddm-openrc/sddm.initd17
2 files changed, 36 insertions, 0 deletions
diff --git a/nonsystemd/sddm-openrc/PKGBUILD b/nonsystemd/sddm-openrc/PKGBUILD
new file mode 100644
index 000000000..4c61228be
--- /dev/null
+++ b/nonsystemd/sddm-openrc/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: artoo <artoo@artixlinux.org>
+
+pkgname=sddm-openrc
+pkgver=20220104
+pkgrel=1
+pkgdesc="OpenRC sddm init script"
+arch=('any')
+url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
+license=('GPL2')
+groups=('openrc-world')
+provides=('init-displaymanager')
+depends=('sddm' 'openrc')
+conflicts=('init-displaymanager')
+source=("sddm.initd")
+sha256sums=('0d24660f022b3e5e1f8196a4022981045d9dd79eb74531d19d6981a5ba735f1e')
+
+package() {
+ install -Dm755 "$srcdir/sddm.initd" "$pkgdir/etc/init.d/sddm"
+}
diff --git a/nonsystemd/sddm-openrc/sddm.initd b/nonsystemd/sddm-openrc/sddm.initd
new file mode 100644
index 000000000..12bcbf916
--- /dev/null
+++ b/nonsystemd/sddm-openrc/sddm.initd
@@ -0,0 +1,17 @@
+#!/usr/bin/openrc-run
+
+supervisor=supervise-daemon
+command="/usr/bin/sddm"
+
+depend() {
+ need localmount
+
+ after bootmisc consolefont modules netmount
+ after ypbind autofs openvpn gpm lircmd
+ after quota keymaps
+ before alsasound
+ want logind
+ use xfs
+
+ provide xdm display-manager
+}