summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08e6d46d27b2e95fd6d849b6ecdf9c6a448e59e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Christopher <archlinux-maintainer@christopherz.com>
# Contributor: Giancarlo Grasso <gianniesoft at gmail dot com>

pkgname=mysterium-vpn-desktop-bin
pkgver=10.17.10
pkgrel=1
pkgdesc="Mysterium VPN is a Desktop VPN client for Windows, macOS and Linux."
arch=("x86_64")
url="https://github.com/mysteriumnetwork/mysterium-vpn-desktop"
license=("MIT")
provides=("mysterium-vpn-desktop")
depends=("libxss"
         "nss"
         "libxtst"
         "libnotify"
         "libappindicator-gtk3"
         "openresolv"
         "gtk3"
         "xdg-utils"
         "at-spi2-core"
         "util-linux-libs"
         "libsecret")
source=("https://github.com/mysteriumnetwork/mysterium-vpn-desktop/releases/download/${pkgver}/mysterium-vpn-desktop_${pkgver}_amd64.deb"
        "https://raw.githubusercontent.com/mysteriumnetwork/mysterium-vpn-desktop/master/LICENSE")
sha256sums=("6970a940466e25057f1ce0e08cbd0a9fb0e8fb2d8067a7f1454bfbc20461ee29"
            "070d2f42e03987ec349cdb0f4c8668dda323ce30996c848703e70ae3944d3aa8")

package() {
  bsdtar -xv -C "${pkgdir}" -f "${srcdir}/data.tar.xz"
  mkdir -p "${pkgdir}/usr/bin/"
  ln -s "/opt/MysteriumVPN/mysterium-vpn-desktop" "${pkgdir}/usr/bin"
  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}