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