sv-helper: remove do_extract and use corect dl link

This commit is contained in:
TJ Vanderpoel 2015-02-25 12:56:27 -06:00
parent 36045c6cdc
commit 30443a1a3e

View file

@ -7,18 +7,13 @@ 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
distfiles="https://github.com/rubyists/sv-helper/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=772669ba116c4004c394c7f259b15859a520e36170b35f8b5a4103ed2f69e7d0
system_accounts="rsvlog"
rsvlog_homedir="/var/log"
rsvlog_descr="User for logging"
do_extract() {
mkdir -p ${wrksrc}
tar x --strip-components=1 -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz -C ${wrksrc}
}
do_install() {
_commands="sv-list svls sv-find sv-enable sv-disable"
vbin sv-helper.sh sv-helper