Hey @yochananmarqos here is a patch file to fix your PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index b206f62..50efa1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,9 +6,10 @@
# Contributor: Linus Färnstrand <linus at mullvad dot net>
# Contributor: Emīls Piņķis <emil at mullvad dot net>
# Contributor: Andrej Mihajlov <and at mullvad dot net>
+# Contributor: HurricanePootis <hurricanepootis@protonmail.com>
pkgname=mullvad-vpn
pkgver=2023.3
-pkgrel=1
+pkgrel=2
pkgdesc="The Mullvad VPN client app for desktop"
arch=('x86_64')
url="https://www.mullvad.net"
@@ -92,11 +93,11 @@ build() {
cargo build --frozen --release
echo "Preparing for packaging Mullvad VPN ${PRODUCT_VERSION}..."
- mkdir -p dist-assets/shell-completions
+ mkdir -p build/shell-completions
for sh in bash zsh fish; do
echo "Generating shell completion script for ${sh}..."
cargo run --bin mullvad --frozen --release -- shell-completions ${sh} \
- dist-assets/shell-completions/
+ build/shell-completions/
done
echo "Updating relays.json..."
@@ -146,11 +147,11 @@ package() {
install -m755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
# Install completions
- install -Dm644 dist-assets/shell-completions/mullvad.bash \
+ install -Dm644 build/shell-completions/mullvad.bash \
"$pkgdir/usr/share/bash-completion/completions/mullvad"
- install -Dm644 dist-assets/shell-completions/_mullvad -t \
+ install -Dm644 build/shell-completions/_mullvad -t \
"$pkgdir/usr/share/zsh/site-functions/"
- install -Dm644 dist-assets/shell-completions/mullvad.fish -t \
+ install -Dm644 build/shell-completions/mullvad.fish -t \
"$pkgdir/usr/share/fish/vendor_completions.d/"
# Install desktop file & icons from deb
Pinned Comments
yochananmarqos commented on 2022-11-11 19:31 (UTC) (edited on 2022-11-13 19:21 (UTC) by yochananmarqos)
PSA: Upstream does not support building natively for ARM64, only cross-compiling. You can use
mullvad-vpn-bin
instead.yochananmarqos commented on 2019-12-07 17:44 (UTC) (edited on 2024-06-06 22:09 (UTC) by yochananmarqos)
--> ALWAYS DO A CLEAN BUILD <--
This package will verify the signature of the git tag / commit. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.
Please do not create upstream issues about the AUR package, they do not support it.