33 lines
917 B
Bash
33 lines
917 B
Bash
# Template file for 'immortal'
|
|
pkgname=immortal
|
|
version=0.23.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="*nix cross-platform (OS agnostic) supervisor"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=1edc0f7b81897f1afd3bf5b81b44cb6d10060427a392b87af63c573770be018e
|
|
|
|
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
|
|
}
|