summaryrefslogtreecommitdiff
path: root/nonsystemd/gdm-openrc
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-07-17 19:11:54 -0400
committerDavid P <megver83@parabola.nu>2022-07-17 19:11:54 -0400
commitf00e839d4a4763932deb9436836e43ffd05718ea (patch)
tree798e75608bd117d2cf2798b5befb841a8e18cbe1 /nonsystemd/gdm-openrc
parenta540c3434c185b7e4ffe8395884892c3e75173bb (diff)
downloadabslibre-f00e839d4a4763932deb9436836e43ffd05718ea.tar.gz
abslibre-f00e839d4a4763932deb9436836e43ffd05718ea.tar.bz2
abslibre-f00e839d4a4763932deb9436836e43ffd05718ea.zip
addpkg: nonsystemd/gdm-openrc 20220104-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/gdm-openrc')
-rw-r--r--nonsystemd/gdm-openrc/PKGBUILD19
-rw-r--r--nonsystemd/gdm-openrc/gdm.initd17
2 files changed, 36 insertions, 0 deletions
diff --git a/nonsystemd/gdm-openrc/PKGBUILD b/nonsystemd/gdm-openrc/PKGBUILD
new file mode 100644
index 000000000..1d0c92588
--- /dev/null
+++ b/nonsystemd/gdm-openrc/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: artoo <artoo@artixlinux.org>
+
+pkgname=gdm-openrc
+pkgver=20220104
+pkgrel=1
+pkgdesc="OpenRC gdm init script"
+arch=('any')
+url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
+license=('GPL2')
+groups=('openrc-world')
+provides=('init-displaymanager')
+depends=('gdm' 'openrc')
+conflicts=('init-displaymanager')
+source=("gdm.initd")
+sha256sums=('b46bb53bf9eb0c8d292133216af3c451060e8acc278e837d2bb5a58d548baec0')
+
+package() {
+ install -Dm755 "$srcdir/gdm.initd" "$pkgdir/etc/init.d/gdm"
+}
diff --git a/nonsystemd/gdm-openrc/gdm.initd b/nonsystemd/gdm-openrc/gdm.initd
new file mode 100644
index 000000000..ecdad2164
--- /dev/null
+++ b/nonsystemd/gdm-openrc/gdm.initd
@@ -0,0 +1,17 @@
+#!/usr/bin/openrc-run
+
+supervisor=supervise-daemon
+command="/usr/bin/gdm"
+
+depend() {
+ need localmount
+
+ after bootmisc consolefont modules netmount
+ after readahead-list ypbind autofs openvpn gpm lircmd
+ after quota keymaps
+ before alsasound
+ want logind
+ use xfs
+
+ provide xdm display-manager
+}