summaryrefslogtreecommitdiff
path: root/nonsystemd
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd')
-rw-r--r--nonsystemd/lxdm-openrc/PKGBUILD19
-rw-r--r--nonsystemd/lxdm-openrc/lxdm.initd18
2 files changed, 37 insertions, 0 deletions
diff --git a/nonsystemd/lxdm-openrc/PKGBUILD b/nonsystemd/lxdm-openrc/PKGBUILD
new file mode 100644
index 000000000..46c5ae819
--- /dev/null
+++ b/nonsystemd/lxdm-openrc/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: artoo <artoo@artixlinux.org>
+
+pkgname=lxdm-openrc
+pkgver=20220104
+pkgrel=1
+pkgdesc="OpenRC lxdm init script"
+arch=('any')
+url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
+license=('GPL2')
+groups=('openrc-galaxy')
+provides=('init-displaymanager')
+depends=('lxdm-gtk3' 'openrc')
+conflicts=('init-displaymanager')
+source=("lxdm.initd")
+sha256sums=('57ec70f482e606961971978565fc268fba9388b277ce751c2d0a16f44d081e42')
+
+package() {
+ install -Dm755 "$srcdir/lxdm.initd" "$pkgdir/etc/init.d/lxdm"
+}
diff --git a/nonsystemd/lxdm-openrc/lxdm.initd b/nonsystemd/lxdm-openrc/lxdm.initd
new file mode 100644
index 000000000..2e66aae71
--- /dev/null
+++ b/nonsystemd/lxdm-openrc/lxdm.initd
@@ -0,0 +1,18 @@
+#!/usr/bin/openrc-run
+
+command="/usr/bin/lxdm-binary"
+command_args="-d"
+pidfile="/run/${RC_SVCNAME}.pid"
+
+depend() {
+ need localmount dbus logind
+
+ after bootmisc consolefont modules netmount
+ after readahead-list ypbind autofs openvpn gpm lircmd
+ after quota keymaps
+ before alsasound
+
+ use xfs
+
+ provide xdm display-manager
+}