void-packages/srcpkgs/nebula/template

22 lines
649 B
Bash

# Template file for 'nebula'
pkgname=nebula
version=1.4.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}"
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=e8d79231f6100a2cd240d6a092d0dcc2bfccadffa83cb40e99b7328f6c75c2ec
post_install() {
vlicense LICENSE
vsconf examples/config.yml
vsv nebula
}