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