2015-02-23 22:17:19 +00:00
|
|
|
# Template file for 'sv-helper'
|
|
|
|
pkgname=sv-helper
|
2015-04-05 23:47:13 +00:00
|
|
|
version=2.0.1
|
2015-02-23 22:17:19 +00:00
|
|
|
revision=1
|
2015-03-03 08:08:52 +00:00
|
|
|
depends="runit"
|
2015-02-25 19:09:19 +00:00
|
|
|
noarch="yes"
|
2015-02-23 22:17:19 +00:00
|
|
|
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"
|
2015-02-25 19:07:38 +00:00
|
|
|
distfiles="https://github.com/rubyists/sv-helper/archive/${version}.tar.gz"
|
2015-04-05 23:47:13 +00:00
|
|
|
checksum=97a36e9759c8db3aae07c262b87c0047e18d63897a2e71b0ff8f0f90d35883d5
|
2015-02-23 22:17:19 +00:00
|
|
|
|
|
|
|
system_accounts="rsvlog"
|
2015-02-25 18:32:54 +00:00
|
|
|
rsvlog_homedir="/var/log"
|
|
|
|
rsvlog_descr="User for logging"
|
2015-02-23 22:17:19 +00:00
|
|
|
|
|
|
|
do_install() {
|
2015-02-25 18:32:54 +00:00
|
|
|
_commands="sv-list svls sv-find sv-enable sv-disable"
|
2015-02-23 22:17:19 +00:00
|
|
|
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
|
|
|
|
}
|