void-packages/srcpkgs/tailscale/template

24 lines
722 B
Bash

# Template file for 'tailscale'
pkgname=tailscale
version=0.100.0
revision=1
_release=-153
wrksrc="${pkgname}-${version}${_release}"
build_style=go
go_import_path="tailscale.com"
go_package="tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled"
make_dirs="/var/lib/tailscale 0755 root root"
hostmakedepends="git"
short_desc="Easy, secure, cross platform WireGuard, oauth2, and 2FA/SSO"
maintainer="Noel Cower <ncower@nil.dev>"
license="BSD-3-Clause"
homepage="https://tailscale.com"
distfiles="https://github.com/tailscale/tailscale/archive/v${version}${_release}.tar.gz"
checksum=e055b72ea20d1288eae61fc0fd1a0108847891e651729d8b3cd318066633ed86
post_install() {
vlicense LICENSE
vlicense PATENTS
vsv tailscaled
}