void-packages/srcpkgs/tailscale/template

24 lines
803 B
Bash
Raw Normal View History

2020-05-13 21:28:27 +02:00
# Template file for 'tailscale'
pkgname=tailscale
version=1.0.3
2020-05-13 21:28:27 +02:00
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}'"
2020-05-13 21:28:27 +02:00
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}.tar.gz"
checksum=f1bf5f4ab0969de024134503022c1e903f984bdc7fdb9934d5746add899afff1
2020-05-13 21:28:27 +02:00
post_install() {
vlicense LICENSE
vlicense PATENTS
vsv tailscaled
}