From 69972ec4a14bf4d062c6b63cfc1044ad3439d9f7 Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 17 Jul 2022 19:14:50 -0400 Subject: addpkg: nonsystemd/lxdm-openrc 20220104-1 Signed-off-by: David P --- nonsystemd/lxdm-openrc/PKGBUILD | 19 +++++++++++++++++++ nonsystemd/lxdm-openrc/lxdm.initd | 18 ++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 nonsystemd/lxdm-openrc/PKGBUILD create mode 100644 nonsystemd/lxdm-openrc/lxdm.initd diff --git a/nonsystemd/lxdm-openrc/PKGBUILD b/nonsystemd/lxdm-openrc/PKGBUILD new file mode 100644 index 000000000..46c5ae819 --- /dev/null +++ b/nonsystemd/lxdm-openrc/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: artoo + +pkgname=lxdm-openrc +pkgver=20220104 +pkgrel=1 +pkgdesc="OpenRC lxdm init script" +arch=('any') +url="https://gitea.artixlinux.org/artixlinux/packages-openrc" +license=('GPL2') +groups=('openrc-galaxy') +provides=('init-displaymanager') +depends=('lxdm-gtk3' 'openrc') +conflicts=('init-displaymanager') +source=("lxdm.initd") +sha256sums=('57ec70f482e606961971978565fc268fba9388b277ce751c2d0a16f44d081e42') + +package() { + install -Dm755 "$srcdir/lxdm.initd" "$pkgdir/etc/init.d/lxdm" +} diff --git a/nonsystemd/lxdm-openrc/lxdm.initd b/nonsystemd/lxdm-openrc/lxdm.initd new file mode 100644 index 000000000..2e66aae71 --- /dev/null +++ b/nonsystemd/lxdm-openrc/lxdm.initd @@ -0,0 +1,18 @@ +#!/usr/bin/openrc-run + +command="/usr/bin/lxdm-binary" +command_args="-d" +pidfile="/run/${RC_SVCNAME}.pid" + +depend() { + need localmount dbus logind + + after bootmisc consolefont modules netmount + after readahead-list ypbind autofs openvpn gpm lircmd + after quota keymaps + before alsasound + + use xfs + + provide xdm display-manager +} -- cgit v1.2.3