void-packages/srcpkgs/tailscale/template
0x5c 84f7df2dbc tailscale: update to 1.20.1.
- Also removed now-obsolete hostmakedep
2022-01-15 11:38:01 +01:00

22 lines
782 B
Bash

# Template file for 'tailscale'
pkgname=tailscale
version=1.20.1
revision=1
build_style=go
go_import_path="tailscale.com"
go_package="tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled"
go_build_tags='xversion'
go_ldflags="-X 'tailscale.com/version.Long=${version}_${revision} (Void Linux)' -X 'tailscale.com/version.Short=${version}'"
make_dirs="/var/lib/tailscale 0755 root root"
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}.tar.gz"
checksum=a2a9961e80f28504fcab6cf9262feb8e4c098ae6efcb2850ba009651729157e0
post_install() {
vlicense LICENSE
vlicense PATENTS
vsv tailscaled
}