summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7c5f0eaa1244d4c23936f93bc244ae9ccefa0539 (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.7
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=("a7e450af187d2bfa53a88fffe8a60be17d7e1f3d844c9e2e405fe1999b60621e"
            "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"
}