New package: sv-helper-1.0.0

sv-helper: update to 1.0.1

sv-helper: remove unzip dependency

sv-helper: fix buildstyle to be build_style

sv-helper: use tabs not spaces

sv-helper: update to 1.0.2 and change user to rsvlog

sv-helper: depend on runit for svlogd
This commit is contained in:
TJ Vanderpoel 2015-02-23 16:17:19 -06:00
parent 4e4a7b07e8
commit 253138c9a7
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
# Template file for 'sv-helper'
pkgname=sv-helper
version=1.0.2
revision=1
build_style="fetch"
depends="bash 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://api.github.com/repos/rubyists/sv-helper/tarball/${version}>${pkgname}-${version}.tar.gz"
checksum=3997895a65ee688dc1c7b071052f822c0b097c873aeea09081ec933df3140b13
system_accounts="rsvlog"
log_homedir="/var/log"
log_descr="User for logging"
_commands="sv-list svls sv-find sv-enable sv-disable"
do_extract() {
tar xv --xform="s|rubyists-sv-helper-[^/]*/|sv-helper-${version}/|" -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz
mv ${pkgname}-${version}/* .
}
do_install() {
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
}