# Maintainer: ABOhiccups # Contributor: Arch Linux Community # Contributor: TorGuard Support pkgname=torguard pkgver=4.8.21 build=build.261.2+gb5fe3d2 pkgrel=1 pkgdesc="TorGuard VPN Software Stay private online with TorGuard's anonymous VPN software and connect to 37+ countries worldwide." arch=('x86_64') url="https://www.torguard.net" depends=('iproute2' 'psmisc' 'libxkbcommon-x11') optdepends=('wireguard-tools: wireguard support') license=(custom) source=("https://updates.torguard.biz/Software/Linux/torguard-v${pkgver}-amd64-arch.tar.gz") sha256sums=('b352fcc94f392d3a7f4c0299e98f6af362dddcd93a6f25e608e760c48a1efb1c') install=torguard.install package() { bsdtar -xf "${srcdir}/torguard-v${pkgver}-${build}-amd64-arch/torguard-v${pkgver}-${build}-amd64-arch.tar" -C "$pkgdir" -s"/torguard-v${pkgver}-${build}-amd64-arch//" install -d "$pkgdir"/usr/bin/ ln -s /opt/torguard/bin/torguard-wrapper "$pkgdir"/usr/bin/torguard }