Advertisement
yochananmarqos

mozillavpn

Jan 13th, 2021 (edited)
544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.93 KB | None | 0 0
  1. # https://aur.archlinux.org/packages/mozillavpn
  2. pkgname=mozillavpn
  3. pkgver=2.1.0
  4. pkgrel=1
  5. pkgdesc="A fast, secure and easy to use VPN. Built by the makers of Firefox."
  6. arch=('x86_64')
  7. url="https://vpn.mozilla.org"
  8. license=('GPL')
  9. depends=('hicolor-icon-theme'
  10.          'polkit'
  11.          'qt5-charts'
  12.          'qt5-declarative'
  13.          'qt5-graphicaleffects'
  14.          'qt5-imageformats'
  15.          'qt5-networkauth'
  16.          'qt5-quickcontrols2'
  17.          'qt5-svg'
  18.          'resolvconf'
  19.          'wireguard-tools')
  20. makedepends=('git' 'qt5-tools')
  21. conflicts=('mozlla-vpn-client')
  22. replaces=('mozilla-vpn-client')
  23. source=("git+https://github.com/mozilla-mobile/mozilla-vpn-client.git#tag=v$pkgver"
  24.         'git+https://github.com/KDAB/android_openssl.git'
  25.         'git+https://github.com/WireGuard/wireguard-apple.git'
  26.         'git+https://github.com/WireGuard/wireguard-go.git'
  27.         'git+https://github.com/WireGuard/wireguard-tools.git'
  28.         'git+https://github.com/mozilla-l10n/mozilla-vpn-client-l10n.git')
  29. sha256sums=('SKIP'
  30.             'SKIP'
  31.             'SKIP'
  32.             'SKIP'
  33.             'SKIP'
  34.             'SKIP')
  35.  
  36. prepare() {
  37.     cd "$srcdir/mozilla-vpn-client"
  38.  
  39.     git submodule init 3rdparty/openSSL
  40.     git config submodule.android_openssl.url "$srcdir/android_openssl"
  41.  
  42.     git submodule init 3rdparty/wireguard-apple
  43.     git config submodule.wireguard-apple.url "$srcidr/wireguard-apple"
  44.  
  45.     git submodule init 3rdparty/wireguard-go
  46.     git config submodule.wireguard-go.url "$srcdir/wireguard-go"
  47.  
  48.     git submodule init 3rdparty/wireguard-tools
  49.     git config submodule.wireguard-tools.url "$srcdir/wireguard-tools"
  50.  
  51.     git submodule init i18n
  52.     git config submodule.mozilla-vpn-client-l10n.url "$srcdir/mozilla-vpn-client-l10n"
  53.  
  54.     git submodule update
  55. }
  56.  
  57. build() {
  58.     cd "$srcdir/mozilla-vpn-client"
  59.     qmake CONFIG+=production
  60.     make
  61. }
  62.  
  63. package() {
  64.     cd "$srcdir/mozilla-vpn-client"
  65.     make INSTALL_ROOT="$pkgdir" install
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement