void-packages/srcpkgs/sv-helper/template
Đoàn Trần Công Danh b209e61d02 sv-helper: drop noarch
2020-10-21 21:48:06 +07:00

26 lines
725 B
Bash

# Template file for 'sv-helper'
pkgname=sv-helper
version=2.0.2
revision=2
depends="runit"
short_desc="Utilities to help administer a runit-as-pid1 system"
maintainer="bougyman <tj@rubyists.com>"
license="MIT"
homepage="https://github.com/rubyists/sv-helper"
distfiles="https://github.com/rubyists/sv-helper/archive/${version}.tar.gz"
checksum=4914a0185502ec0079585533d09fe87938098728bed8b158d40484c58e44f9c7
system_accounts="rsvlog"
rsvlog_homedir="/var/log"
rsvlog_descr="User for logging"
do_install() {
_commands="sv-list svls sv-find sv-enable sv-disable"
vbin sv-helper.sh sv-helper
vbin rsvlog.sh rsvlog
for cmd in $_commands; do
ln -s sv-helper $DESTDIR/usr/bin/$cmd
done
vdoc README.md
vlicense COPYING
}