From 0ea50801e2b09f1d9690bd08dcd4980fdcc1a7f2 Mon Sep 17 00:00:00 2001 From: David P Date: Sun, 17 Jul 2022 19:08:10 -0400 Subject: addpkg: nonsystemd/bluez-openrc 20210506-1 Signed-off-by: David P --- nonsystemd/bluez-openrc/PKGBUILD | 19 +++++++++++++++++++ nonsystemd/bluez-openrc/bluetoothd.initd | 13 +++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 nonsystemd/bluez-openrc/PKGBUILD create mode 100644 nonsystemd/bluez-openrc/bluetoothd.initd (limited to 'nonsystemd') diff --git a/nonsystemd/bluez-openrc/PKGBUILD b/nonsystemd/bluez-openrc/PKGBUILD new file mode 100644 index 000000000..aacf01d2a --- /dev/null +++ b/nonsystemd/bluez-openrc/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: artoo + +pkgname=bluez-openrc +pkgver=20210506 +pkgrel=1 +pkgdesc="OpenRC bluez init script" +arch=('any') +url="https://gitea.artixlinux.org/artixlinux/packages-openrc" +license=('GPL2') +groups=('openrc-world') +provides=('init-bluez') +depends=('bluez' 'openrc') +conflicts=('init-bluez') +source=("bluetoothd.initd") +sha256sums=('b99147767d339b0d6707bbd8cd4da51e795835b7519e7d6d2fcf70dabcaeeb9a') + +package() { + install -Dm755 "${srcdir}"/bluetoothd.initd "${pkgdir}"/etc/init.d/bluetoothd +} diff --git a/nonsystemd/bluez-openrc/bluetoothd.initd b/nonsystemd/bluez-openrc/bluetoothd.initd new file mode 100644 index 000000000..4d38cd22d --- /dev/null +++ b/nonsystemd/bluez-openrc/bluetoothd.initd @@ -0,0 +1,13 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +supervisor="supervise-daemon" +#pidfile="/run/bluetoothd.pid" +command="/usr/lib/bluetooth/bluetoothd" +#command_background=1 + +depend() { + after coldplug + need dbus localmount hostname +} -- cgit v1.2.3