summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-07-17 19:14:50 -0400
committerDavid P <megver83@parabola.nu>2022-07-17 19:14:50 -0400
commit69972ec4a14bf4d062c6b63cfc1044ad3439d9f7 (patch)
treeeedeee39f6446675ee1003a90b753253b0b7b2d8
parent57388a1cfee692efcffd165514fa0272116c6ee5 (diff)
addpkg: nonsystemd/lxdm-openrc 20220104-1
Signed-off-by: David P <megver83@parabola.nu>
-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
+}