summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorexprez1352019-11-21 00:46:29 -0600
committerexprez1352019-11-21 00:46:29 -0600
commitb84b58b6f02c12eaebca435859f2e0d2f957bce4 (patch)
tree8e1b51246ec3e384b7e577fb03347e5108a9ef1f
downloadaur-b84b58b6f02c12eaebca435859f2e0d2f957bce4.tar.gz
Create protonvpn-cli-ng to replace protonvpn-cli.
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD31
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ecd958122be
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = protonvpn-cli-ng
+ pkgdesc = ProtonVPN CLI tool for protonvpn.com
+ pkgver = 2.1.1
+ pkgrel = 1
+ url = https://github.com/ProtonVPN/protonvpn-cli-ng
+ arch = any
+ license = GPLv3
+ makedepends = git
+ depends = openvpn
+ depends = python3
+ depends = dialog
+ replaces = protonvpn-cli
+ source = git+https://github.com/ProtonVPN/protonvpn-cli-ng.git
+ md5sums = SKIP
+
+pkgname = protonvpn-cli-ng
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eaf4d1f84c6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: exprez135 <exprez135 at latour dot 33mails dot com>
+
+pkgname=protonvpn-cli-ng
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="ProtonVPN CLI tool for protonvpn.com"
+arch=("any")
+url="https://github.com/ProtonVPN/protonvpn-cli-ng"
+license=("GPLv3")
+depends=("openvpn" "python3" "dialog")
+makedepends=("git")
+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 .
+
+ install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+}