blob: 1f849ceb7724b9fc05a502706cf4cde90096ef20 (
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
|
# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
pkgname=python-proton-vpn-network-manager
pkgver=0.10.1
pkgrel=1
pkgdesc="The proton-vpn-network-manager component provides the necessary functionality for other components to interact with NetworkManager."
arch=("any")
url="https://github.com/ProtonVPN/python-proton-vpn-network-manager"
license=("GPL3")
groups=("ProtonVPN")
optdepends=("network-manager-applet: password prompt on Gnome and other GTK DEs"
"plasma-nm: password prompt on KDE Plasma")
makedepends=("git" "python-setuptools")
source=("git+https://github.com/ProtonVPN/${pkgname}.git#tag=v${pkgver}")
sha256sums=('SKIP')
depends=('networkmanager-openvpn')
conflicts=("python-protonvpn-nm-lib"
"python-proton-vpn-killswitch-network-manager"
"python-proton-vpn-killswitch-network-manager-wireguard"
"python-proton-vpn-network-manager-wireguard"
"python-proton-vpn-network-manager-openvpn")
replaces=("python-proton-vpn-killswitch-network-manager"
"python-proton-vpn-killswitch-network-manager-wireguard"
"python-proton-vpn-network-manager-wireguard"
"python-proton-vpn-network-manager-openvpn")
build() {
cd "$pkgname"
python setup.py build
}
package() {
cd "$pkgname"
python setup.py install --root="$pkgdir" --optimize=1
}
|