# Maintainer: hiddeninthesand pkgname='tailscale-bin' _gitname='tailscale' provides=('tailscale') replaces=('tailscale-relay') conflicts=('tailscale-relay') pkgver='1.36.2' pkgrel='1' pkgdesc="A mesh VPN that makes it easy to connect your devices, wherever they are." arch=('x86_64') depends=('iptables' 'iproute2') license=('MIT') url="https://tailscale.com/" conflicts=("${_gitname}-git" "${_gitname}") source=("https://pkgs.tailscale.com/stable/tailscale_${pkgver}_amd64.tgz") b2sums=('50077feaef93cfb8d8e182dfcb7a91cebc7f36d86baa26d87282c66fb4574fda51d5d74ee02ea7c074225c7d654878ab5ea9fd49d069c42aefff6f196361d292') package() { cd "tailscale_${pkgver}_amd64" # install binaries install -Dm755 "tailscale" -t "${pkgdir}/usr/bin" install -Dm755 "tailscaled" -t "${pkgdir}/usr/sbin" # configure systemd install -Dm644 "./systemd/tailscaled.defaults" "${pkgdir}/etc/default/tailscaled" install -Dm644 "./systemd/tailscaled.service" "${pkgdir}/usr/lib/systemd/system/tailscaled.service" }