tailscale: update to 1.76.6.
[void-pkg.git] / srcpkgs / tailscale / template
blob1789235464a91b38c6a3d1124238c45dfbd31c84
1 # Template file for 'tailscale'
2 pkgname=tailscale
3 version=1.76.6
4 revision=1
5 build_style=go
6 build_helper="qemu"
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
22 post_install() {
23         for sh in bash fish zsh; do
24                 vtargetrun "${DESTDIR}/usr/bin/tailscale" completion "$sh" > "tailscale.${sh}"
25                 vcompletion "tailscale.${sh}" "$sh"
26         done
27         vlicense LICENSE
28         vlicense PATENTS
29         vsv tailscaled