diff options
author | David P <megver83@parabola.nu> | 2022-07-17 19:08:10 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2022-07-17 19:08:10 -0400 |
commit | 0ea50801e2b09f1d9690bd08dcd4980fdcc1a7f2 (patch) | |
tree | 7d42ff60321aa09e8cfbf41afd5507e9028ca6cf /nonsystemd | |
parent | 8491d8952f75b3cf7b053d4a1ca2cb8fb0c815a5 (diff) | |
download | abslibre-0ea50801e2b09f1d9690bd08dcd4980fdcc1a7f2.tar.gz abslibre-0ea50801e2b09f1d9690bd08dcd4980fdcc1a7f2.tar.bz2 abslibre-0ea50801e2b09f1d9690bd08dcd4980fdcc1a7f2.zip |
addpkg: nonsystemd/bluez-openrc 20210506-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd')
-rw-r--r-- | nonsystemd/bluez-openrc/PKGBUILD | 19 | ||||
-rw-r--r-- | nonsystemd/bluez-openrc/bluetoothd.initd | 13 |
2 files changed, 32 insertions, 0 deletions
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 <artoo@artixlinux.org> + +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 +} |