void-packages/srcpkgs/nebula/template
2020-06-26 21:07:38 +02:00

22 lines
671 B
Bash

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