void-packages/srcpkgs/nebula/template

23 lines
671 B
Bash
Raw Normal View History

2019-12-01 20:35:31 +00:00
# Template file for 'nebula'
pkgname=nebula
version=1.1.0
revision=1
build_style=go
make_dirs="/etc/nebula 0750 root root"
go_import_path=github.com/slackhq/nebula
go_package="${go_import_path}/cmd/nebula ${go_import_path}/cmd/nebula-cert"
go_ldflags="-X main.Build=${version}"
hostmakedepends="git"
short_desc="Scalable overlay networking tool"
maintainer="Noel Cower <ncower@nil.dev>"
license="MIT"
homepage="https://github.com/slackhq/nebula"
distfiles="https://github.com/slackhq/nebula/archive/v${version}.tar.gz"
checksum=ff08ce10c202a047149397b172e2effaac7f213676e99bb01293b751e73a33fd
post_install() {
vlicense LICENSE
vsconf examples/config.yml
vsv nebula
}