void-packages/srcpkgs/immortal/template
Nathan Owens 2a72ba4ace immortal: update to 0.24.1
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-12 13:59:30 +01:00

31 lines
832 B
Bash

# Template file for 'immortal'
pkgname=immortal
version=0.24.1
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="*nix cross-platform (OS agnostic) supervisor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/immortal/immortal"
distfiles="https://github.com/immortal/immortal/archive/${version}.tar.gz"
checksum=5476ccd854e364f442fb7355ab9af3e7fef5e5f349637168c52983869aa512a2
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
}