summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Stinus2017-06-12 15:07:18 +0800
committerNicolas Stinus2017-06-12 15:07:18 +0800
commit73afeaf125a045c2e8a1bc879bcbf3cc5a9fb5e6 (patch)
treef51f6dab661d88a09217e1be12a0ee33491ae057
parent13fbd945ec1c92ea0520f40c9a8135049d66bcc4 (diff)
downloadaur-73afeaf125a045c2e8a1bc879bcbf3cc5a9fb5e6.tar.gz
Allow alternative branch through environment variable
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b48461a92751..54fc751916e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ optdepends=('iputils: run ping and rank functions'
'vpnfailsafe-git: use instead of update-resolv-conf if available')
makedepends=('coreutils' 'pandoc')
provides=('nordvpn')
-source=('git+https://github.com/nstinus/nordvpn.git#branch=master')
+source=("git+https://github.com/nstinus/nordvpn.git#branch=${NORDVPN_BRANCH:-master}")
sha1sums=('SKIP')
install=${pkgname}.install