I can get the same message by running:
PATH=$PATH:./bin yay -S mullvad-browser-bin
But not by simply building the package on any of the systems I've tried.
Since there's nothing touching PATH in the PKGBUILD (and it hasn't been substantially modified in a long time), it looks like a local misconfiguration. Could you check your PATH to be sure?
echo $PATH
If there's nothing suspicious in there, the variable can also be modified during build time by /etc/makepkg.conf and/or /etc/makepkg.conf.d/*.conf (and maybe some other configs — recursive grep through /etc might be useful).
Pinned Comments
tarball commented on 2024-06-26 08:35 (UTC)
Make sure to fetch the developers' signing key before building the package.
The official instructions are here. The link is also mentioned in the
PKGBUILD.If the site is blocked in your region, you'll have to work around it or trust me that this is what it says:
which (as of 2024-06-26) should also show this fingerprint:
If your gpg says otherwise, you may have been fed garbage.