void-packages/srcpkgs/sv-helper/template
2015-03-03 02:08:52 -06:00

26 lines
720 B
Text

# Template file for 'sv-helper'
pkgname=sv-helper
version=2.0.0
revision=1
depends="runit"
noarch="yes"
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=96ac52eb69b6952e269a5fca2a53a3d36489d5fdd5d03e2bf562b69c0b11595a
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
}