summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-07-17 19:18:24 -0400
committerDavid P <megver83@parabola.nu>2022-07-17 19:18:24 -0400
commit84b26f14db7c57e7073bd86ed461889c7b879e67 (patch)
tree65d1bb02b3653c5ceea437b5d7d9fe0865f27175
parent9fea9c0f08f1efd2c74ba5f667e36ff0835527b9 (diff)
addpkg: nonsystemd/xdm-openrc 20220104-1
Signed-off-by: David P <megver83@parabola.nu>
-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
+}