blob: 48b2b61f7cff682bba3c49cd8b211fd4ac63491b (
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
34
35
36
37
38
39
40
41
42
|
# Generated by debtap
# Maintainer: 1nikolas
# Contributor: 1nikolas
pkgname=purevpn-gui
pkgver=2.9.0
pkgrel=1
pkgdesc='PureVPN Linux Application (GUI)'
arch=('x86_64')
url='https://www.purevpn.com/download/linux-vpn'
license=('Custom')
depends=('gtk3' 'libnotify' 'nss' 'libxtst' 'xdg-utils' 'at-spi2-atk' 'util-linux-libs' 'libsecret' 'openresolv' 'openvpn' 'wireguard-tools' 'net-tools' 'coreutils')
makedepends=('gcc')
optdepends=('libappindicator-gtk3')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source_x86_64=("https://apps.purevpn-tools.com/cross-platform/linux-gui/${pkgver}/PureVPN_amd64.deb?${pkgver}"
'dpkg-query.c'
'purevpn.desktop'
'purevpn')
sha512sums_x86_64=('b7c3f82428a96e2d515d68a83110d63b4e041a8993c1c96300027b5096d146e233f77873b767dcb74d80cfddc45d50b89de61acdd3cfc21f16d2c1b7fd9516f7'
'23011a501725a3980441007fc579f323a9ac50821f079b6ca555ce4c2d500ada6bfa861169456ccd0a61ff4a4f4fc967358f0b25c0a082c64b169f502435287a'
'6d91106dee8fc9a61c5f111acb2153bbfc7212ee6feda7a744244e0da49f5b244f4a39853659c4834f9ab91683bcc4cf3eedbf64eae38828d4327c899b3f293c'
'20ca17878747f6c08bb8506a9e945f3475860b38a0be54e35155d920431a7250c6626b90d538d6823c52b5a56f1115ffafc2628e326326d9bc853bcdd169033a')
package(){
# Extract package data
tar -xJ -f data.tar.xz -C "${pkgdir}"
install -D -m644 "${pkgdir}/opt/PureVPN/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Compile fake dpkg-query
gcc dpkg-query.c -o "${pkgdir}/opt/PureVPN/dpkg-query"
# Install desktop
install -D -m664 purevpn.desktop "${pkgdir}/usr/share/applications/purevpn.desktop"
# Install /usr/bin bash shortcut
install -D -m755 purevpn "${pkgdir}/usr/bin/purevpn"
}
|