summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorexprez1352019-11-23 12:41:22 -0600
committerexprez1352019-11-23 12:41:22 -0600
commita26a2168c81d6078ed33a9398dac54960b1d1050 (patch)
tree7a011e72f4ed83ab2292ecbe59ef229c6a98ca59
parentb84b58b6f02c12eaebca435859f2e0d2f957bce4 (diff)
downloadaur-a26a2168c81d6078ed33a9398dac54960b1d1050.tar.gz
Changed installation method from 'sudo pip3 install' to 'python setup.py install'
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eaf4d1f84c6..1c93b63e764 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: exprez135 <exprez135 at latour dot 33mails dot com>
+# Maintainer: exprez135 <exprez135 at latour dot 33mail dot com>
pkgname=protonvpn-cli-ng
pkgver=2.1.1
@@ -13,18 +13,15 @@ replaces=("protonvpn-cli")
source=("git+https://github.com/ProtonVPN/protonvpn-cli-ng.git")
md5sums=("SKIP")
-# _update_resolv_conf_src_dir="openvpn-update-resolv-conf"
_protonvpn_src_dir="protonvpn-cli-ng"
package() {
# Define paths
- # _update_resolv_conf_src_dir="${srcdir}/${_update_resolv_conf_src_dir}"
_protonvpn_src_dir="${srcdir}/${_protonvpn_src_dir}"
-
# Install protonvpn-cli-ng package
cd "${_protonvpn_src_dir}"
- sudo pip3 install .
+ python setup.py install --optimize=1 --root="$pkgdir"
install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"