# Template file for 'nebula'
pkgname=nebula
version=1.10.3
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="sn0w <me@sn0w.re>"
license="MIT"
homepage="https://github.com/slackhq/nebula"
distfiles="https://github.com/slackhq/nebula/archive/v${version}.tar.gz"
checksum=12972f5a1dc37b89dff6af91685f7f7eb643b7f75da760c036d1e8d850387e54

post_install() {
	vlicense LICENSE
	vsconf examples/config.yml
	vsv nebula
}
