summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD24
3 files changed, 17 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5fa9b3458e1..3f6d88a07b4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = protonvpn-cli-ng-git
- pkgdesc = ProtonVPN CLI tool for protonvpn.com
- pkgver = 2.2.2.r0.ga5f1c61
+ pkgdesc = A Linux CLI for ProtonVPN.
+ pkgver = 2.2.3.r2.gdd0aab7
pkgrel = 1
url = https://github.com/ProtonVPN/linux-cli
arch = any
license = GPLv3
+ makedepends = git
depends = openvpn
depends = python
depends = dialog
@@ -12,6 +13,7 @@ pkgbase = protonvpn-cli-ng-git
depends = python-setuptools
depends = python-docopt
depends = python-requests
+ depends = python-jinja
provides = protonvpn-cli-ng
conflicts = protonvpn-cli-ng
replaces = protonvpn-cli
diff --git a/.gitignore b/.gitignore
index 84085c73f1c..904f1af5658 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ linux-cli
src/
pkg/
*.pkg.*
+*.log
diff --git a/PKGBUILD b/PKGBUILD
index f7ca2dd6972..3e97d383214 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
-# Contributor: exprez135 <exprezdev at pm dot me>
+# Based on protonvpn-cli-ng: Nate Ijams ~ exprez135 <exprezdev at pm dot me>
pkgname=protonvpn-cli-ng-git
-product=protonvpn-cli-ng
-pkgver=2.2.2.r0.ga5f1c61
+pkgver=2.2.3.r2.gdd0aab7
pkgrel=1
-pkgdesc="ProtonVPN CLI tool for protonvpn.com"
+pkgdesc="A Linux CLI for ProtonVPN."
arch=("any")
url="https://github.com/ProtonVPN/linux-cli"
license=("GPLv3")
-depends=("openvpn" "python" "dialog" "python-pythondialog" "python-setuptools" "python-docopt" "python-requests")
+depends=("openvpn" "python" "dialog" "python-pythondialog" "python-setuptools" "python-docopt" "python-requests" "python-jinja")
+makedepends=("git")
replaces=("protonvpn-cli")
-conflicts=("${product}")
-provides=("${product}")
+_product=protonvpn-cli-ng
+conflicts=("${_product}")
+provides=("${_product}")
_src_name=linux-cli
source=("git+${url}")
sha256sums=("SKIP")
@@ -23,8 +24,7 @@ pkgver() {
}
package() {
- cd "${_src_name}"
-
- python setup.py install --optimize=1 --root="${pkgdir}"
- install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
+ cd "${_src_name}"
+ python setup.py install --optimize=1 --root="$pkgdir"
+ install -Dm644 ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+} \ No newline at end of file