diff options
Diffstat (limited to 'nonsystemd/brltty-openrc')
-rw-r--r-- | nonsystemd/brltty-openrc/PKGBUILD | 20 | ||||
-rw-r--r-- | nonsystemd/brltty-openrc/brltty.initd | 12 |
2 files changed, 32 insertions, 0 deletions
diff --git a/nonsystemd/brltty-openrc/PKGBUILD b/nonsystemd/brltty-openrc/PKGBUILD new file mode 100644 index 000000000..641effda6 --- /dev/null +++ b/nonsystemd/brltty-openrc/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: David P. <megver83@parabola.nu> +# Maintainer (Artix): artoo <artoo@artixlinux.org> + +pkgname=brltty-openrc +pkgver=20210506 +pkgrel=1 +pkgdesc="OpenRC brltty init script" +arch=('any') +url="https://gitea.artixlinux.org/artixlinux/packages-openrc" +license=('GPL2') +groups=('openrc-world') +provides=('init-brltty') +conflicts=('init-brltty') +source=("brltty.initd") +sha256sums=('28156db939f74a46e24dbd19cb8e39f981ca0924b86a7f4543ec62b59df3895d') + +package() { + depends=('openrc' 'brltty') + install -Dm755 "$srcdir"/brltty.initd "$pkgdir"/etc/init.d/brltty +} diff --git a/nonsystemd/brltty-openrc/brltty.initd b/nonsystemd/brltty-openrc/brltty.initd new file mode 100644 index 000000000..03bc93011 --- /dev/null +++ b/nonsystemd/brltty-openrc/brltty.initd @@ -0,0 +1,12 @@ +#!/usr/bin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command=/usr/bin/brltty +pidfile=/run/brltty.pid +command_args="-P ${pidfile} -q" + +depend() { + before * + after clock +} |