From 57388a1cfee692efcffd165514fa0272116c6ee5 Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 17 Jul 2022 19:13:32 -0400 Subject: addpkg: nonsystemd/lightdm-openrc 20220104-1 Signed-off-by: David P --- nonsystemd/lightdm-openrc/PKGBUILD | 19 +++++++++++++++++++ nonsystemd/lightdm-openrc/lightdm.initd | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 nonsystemd/lightdm-openrc/PKGBUILD create mode 100644 nonsystemd/lightdm-openrc/lightdm.initd 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 + +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 +} -- cgit v1.2.3