Package Details: mullvad-vpn-beta 2019.10.beta2-2

Git Clone URL: (read-only)
Package Base: mullvad-vpn-beta
Description: The Mullvad VPN client app for desktop (latest/beta release)
Upstream URL:
Licenses: GPL3
Conflicts: mullvad-vpn
Provides: mullvad-vpn
Submitter: telans
Maintainer: telans (yochananmarqos)
Last Packager: yochananmarqos
Votes: 3
Popularity: 1.19
First Submitted: 2019-08-09 21:46
Last Updated: 2019-12-07 17:43

Pinned Comments

yochananmarqos commented on 2019-12-07 17:44

This package will verify the signature of the git tag. Developer keys are available here and instructions are here. See the PKGBUILD to determine which developer key you need.

Latest Comments

« First ‹ Previous 1 2

telans commented on 2019-08-13 09:00

Cheers. I added backup(), however no matter how I format it, I can never actually get settings.json to be backed up upon removal. Not sure where I'm going wrong, might just be an issue on my end.

For now I've left that commented out in .install

yochananmarqos commented on 2019-08-12 17:12

No need to use mkdir when you can use install -D:

    # /usr/bin/ Contents
    install -Dm755 "${srcdir}/usr/bin/mullvad" "${pkgdir}/usr/bin/mullvad"
    ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"

I suggest adding an install file:

post_install() {
    systemctl enable --now mullvad-daemon

pre_upgrade() {
    systemctl stop mullvad-daemon

    rm -f /var/cache/mullvad-vpn/relays.json

post_upgrade() {
    systemctl daemon-reload
    systemctl start mullvad-daemon

pre_remove() {
    systemctl stop mullvad-daemon
    systemctl disable mullvad-daemon

post_remove() {
    # remove logs & cache
    rm -rf /var/log/mullvad-vpn/
    rm -rf /var/cache/mullvad-vpn/

telans commented on 2019-08-12 04:19

Thank you for your help. I've modified a couple small things, and added the changes below.

yochananmarqos commented on 2019-08-10 13:51

Do not add mullvad-vpn to replaces, that's only for obsolete packages. Since mullvad-vpn-old is in replaces, there's no need for it to be in conflicts.

You don't need to provide the desktop and service file separately, they're included:

    # Systemd service
    sed -i 's|/opt/Mullvad\\x20VPN|/opt/mullvad-vpn|g' \
        "opt/Mullvad VPN/resources/mullvad-daemon.service"
    install -Dm644 "opt/Mullvad VPN/resources/mullvad-daemon.service" \

    # Desktop Entry
    sed -i 's|/opt/Mullvad VPN|/opt/mullvad-vpn|g' \
    install -Dm644 "usr/share/applications/${pkgname%-bin}.desktop" \

EDIT: Fixed sed