# Maintainer: David Anderson pkgname="tailscale-bin" _version="0.96-0" pkgver="0.96_0" pkgrel="1" pkgdesc="A mesh VPN that makes it easy to connect your devices, wherever they are." arch=("x86_64") url="https://tailscale.com" license=("MIT") depends=("glibc") backup=("etc/default/tailscaled") source=("$pkgname-$pkgver.tgz::https://pkgs.tailscale.com/stable/tailscale_${_version}_amd64.tgz") sha256sums=('66ea842942bc78a57d707608af6c1e0c37b6f7a7912ad0a3821697689f416da7') install="tailscale.install" package() { cd tailscale_${_version}_amd64 mkdir -p "$pkgdir/usr/bin" "$pkgdir/etc/default" "$pkgdir/usr/lib/systemd/system" install -m755 tailscale tailscaled "$pkgdir/usr/bin" install -m644 systemd/tailscaled.defaults "$pkgdir/etc/default/tailscaled" install -m644 systemd/tailscaled.service "$pkgdir/usr/lib/systemd/system" }