void-packages/srcpkgs/nebula/template
2020-10-17 18:20:11 +02:00

22 lines
671 B
Bash

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