sv-helper: remove build-style, add do_extract()
This commit is contained in:
parent
253138c9a7
commit
541f9dfcaf
|
@ -2,7 +2,6 @@
|
|||
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>"
|
||||
|
@ -12,16 +11,17 @@ distfiles="https://api.github.com/repos/rubyists/sv-helper/tarball/${version}>${
|
|||
checksum=3997895a65ee688dc1c7b071052f822c0b097c873aeea09081ec933df3140b13
|
||||
|
||||
system_accounts="rsvlog"
|
||||
log_homedir="/var/log"
|
||||
log_descr="User for logging"
|
||||
_commands="sv-list svls sv-find sv-enable sv-disable"
|
||||
rsvlog_homedir="/var/log"
|
||||
rsvlog_descr="User for logging"
|
||||
|
||||
do_extract() {
|
||||
tar xv --xform="s|rubyists-sv-helper-[^/]*/|sv-helper-${version}/|" -f ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${version}.tar.gz
|
||||
mv ${pkgname}-${version}/* .
|
||||
local f curfile
|
||||
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
|
||||
vbin rsvlog.sh rsvlog
|
||||
for cmd in $_commands; do
|
||||
|
|
Loading…
Reference in New Issue