void-packages/srcpkgs/immortal/template

31 lines
827 B
Bash
Raw Normal View History

2017-11-07 22:26:06 +01:00
# Template file for 'immortal'
pkgname=immortal
version=0.18.0
2018-03-30 18:30:13 +02:00
revision=4
2017-11-07 22:26:06 +01:00
build_style=go
go_import_path=github.com/immortal/immortal
go_package="${go_import_path}/cmd/immortal ${go_import_path}/cmd/immortalctl ${go_import_path}/cmd/immortaldir"
go_ldflags="-X main.Version=v${version}"
short_desc="A *nix cross-platform (OS agnostic) supervisor"
hostmakedepends="git"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD"
homepage="https://github.com/immortal/immortal"
distfiles="https://github.com/immortal/immortal/archive/${version}.tar.gz"
checksum=8a2328daa5fce82e333fa01e1d87ea7720a405756788cc7edee96b7bb22b26e8
2017-11-07 22:26:06 +01:00
do_check() {
go test -v
}
post_install() {
for f in man/* ; do
vman $f
done
vmkdir usr/share/${pkgname}/example
vcopy "${wrksrc}/example/*" usr/share/${pkgname}/example
vlicense LICENSE
}