30 lines
827 B
Bash
30 lines
827 B
Bash
# Template file for 'immortal'
|
|
pkgname=immortal
|
|
version=0.17.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}"
|
|
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=d3aa471f5c391a2f068048b0d3a408d1e24993adfe841920367a7156c2c56400
|
|
|
|
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
|
|
}
|