void-packages/srcpkgs/immortal/template
maxice8 ae1c0cc24d
immortal: update to 0.20.0.
Closes #14988.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-06-14 12:33:07 +02:00

31 lines
921 B
Bash

# Template file for 'immortal'
pkgname=immortal
version=0.20.0
revision=1
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}"
hostmakedepends="git"
short_desc="A *nix cross-platform (OS agnostic) supervisor"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/immortal/immortal"
#changelog="https://raw.githubusercontent.com/immortal/immortal/master/CHANGELOG.md"
distfiles="https://github.com/immortal/immortal/archive/${version}.tar.gz"
checksum=729c08265bcb93996215cc64af16155651f8355cd1c571077576d923740f0613
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
}