summaryrefslogtreecommitdiff
path: root/nonsystemd/lightdm-openrc
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-07-17 19:13:32 -0400
committerDavid P <megver83@parabola.nu>2022-07-17 19:13:32 -0400
commit57388a1cfee692efcffd165514fa0272116c6ee5 (patch)
tree519756e092759cd63395405c828bd264e2e8ab9e /nonsystemd/lightdm-openrc
parent26f2616f24ceecbb1f71f1553af3c0956aa81805 (diff)
downloadabslibre-57388a1cfee692efcffd165514fa0272116c6ee5.tar.gz
abslibre-57388a1cfee692efcffd165514fa0272116c6ee5.tar.bz2
abslibre-57388a1cfee692efcffd165514fa0272116c6ee5.zip
addpkg: nonsystemd/lightdm-openrc 20220104-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/lightdm-openrc')
-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
+}