summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-07-17 19:15:42 -0400
committerDavid P <megver83@parabola.nu>2022-07-17 19:15:42 -0400
commitba9879cc6c2764e323695d6bda3db4d7a8d1bed7 (patch)
tree4111ed430d892cff4f63677c2e976397ec58f954
parent69972ec4a14bf4d062c6b63cfc1044ad3439d9f7 (diff)
downloadabslibre-ba9879cc6c2764e323695d6bda3db4d7a8d1bed7.tar.gz
abslibre-ba9879cc6c2764e323695d6bda3db4d7a8d1bed7.tar.bz2
abslibre-ba9879cc6c2764e323695d6bda3db4d7a8d1bed7.zip
addpkg: nonsystemd/sddm-openrc 20220104-1
Signed-off-by: David P <megver83@parabola.nu>
-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
+}