summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYurii Kolesnykov2020-06-01 21:52:57 +0300
committerYurii Kolesnykov2020-06-01 21:52:57 +0300
commit8cd49257990b3ceec411105268de07f1e29186c0 (patch)
tree60680ef41ad311490b94991c252202c6bc04004e /PKGBUILD
parente67dc9a1b291db91f50d3d89de9e886a8286d866 (diff)
downloadaur-protonvpn-cli-ng-git.tar.gz
2.2.3.r2.gdd0aab7
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 12 insertions, 12 deletions
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