# Maintainer: Mark Wagie # Contributor: Matthew McGinn # Contributor: alicewww pkgname=mullvad-vpn-bin pkgver=2024.1 pkgrel=1 pkgdesc="The Mullvad VPN client app for desktop" arch=('x86_64' 'aarch64') url="https://www.mullvad.net" license=('GPL-3.0-or-later') depends=('alsa-lib' 'gtk3' 'iputils' 'libnftnl' 'libnotify' 'nss') provides=('mullvad-vpn') conflicts=('mullvad-vpn') install='mullvad-vpn.install' source=('mullvad-vpn.sh') source_x86_64=("https://github.com/mullvad/mullvadvpn-app/releases/download/$pkgver/MullvadVPN-${pkgver}_amd64.deb"{,.asc}) source_aarch64=("https://github.com/mullvad/mullvadvpn-app/releases/download/$pkgver/MullvadVPN-${pkgver}_arm64.deb"{,.asc}) sha256sums=('a59c29f07b4eab9af56f0e8be42bae0d83726f5185e88de0c5a48f4098c3c0a4') sha256sums_x86_64=('8a8e913941e84818a3d5a87aca2d466e78bac96555a1864a51dec147e19728b8' 'SKIP') sha256sums_aarch64=('6f32930127ea8e68f229979cafc30668285dea0e3c69085fa6e73e814ab0a0f2' 'SKIP') validpgpkeys=('A1198702FC3E0A09A9AE5B75D5A1D4F266DE8DDF') # Mullvad (code signing) package() { bsdtar -xvf data.tar.xz -C "$pkgdir/" chmod 4755 "$pkgdir/opt/Mullvad VPN/chrome-sandbox" # Link to the GUI binary install -m755 "$srcdir/mullvad-vpn.sh" "$pkgdir/usr/bin/mullvad-vpn" # Move ZSH completions to correct directory mv "$pkgdir/usr/local/share/zsh" "$pkgdir/usr/share/" rm -rf "$pkgdir/usr/local" }