# Maintainer: ABOhiccups # Contributor: Arch Linux Community # Contributor: TorGuard Support pkgname=torguard pkgver=4.8.28 build=build.283.1+g525f652 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=('8d4b9222b185973cb10ca10cfd2fd724087789b84cf81567783e2d3df144dd3a') 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 }