1 # Template file for 'tailscale'
7 go_import_path="tailscale.com"
8 go_package="tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled"
9 go_build_tags='xversion'
10 go_ldflags="-X 'tailscale.com/version.longStamp=${version}_${revision} (Void Linux)'
11 -X 'tailscale.com/version.shortStamp=${version}'"
12 make_check_target="$go_package"
13 make_dirs="/var/lib/tailscale 0755 root root"
14 short_desc="Easy, secure, cross platform WireGuard, oauth2, and 2FA/SSO"
15 maintainer="classabbyamp <void@placeviolette.net>"
16 license="BSD-3-Clause"
17 homepage="https://tailscale.com"
18 changelog="https://tailscale.com/changelog"
19 distfiles="https://github.com/tailscale/tailscale/archive/v${version}.tar.gz"
20 checksum=1603c78a6a5e9f83b278d305e1196fbfdeeb841be10ac2ddb7ea433c2701234b
23 for sh in bash fish zsh; do
24 vtargetrun "${DESTDIR}/usr/bin/tailscale" completion "$sh" > "tailscale.${sh}"
25 vcompletion "tailscale.${sh}" "$sh"