summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan2017-01-31 18:18:07 -0400
committerJuan2017-01-31 18:18:07 -0400
commitd5839e79a20ef20bcc443c1a11f2b0eaa1c52c57 (patch)
treea429affbcb0dc869035666249492f4f6ebb3bd5b
parent3f670647b076c43dda4e00cde0f2fa0c8cdc241f (diff)
downloadaur-d5839e79a20ef20bcc443c1a11f2b0eaa1c52c57.tar.gz
makes easy use vpndemon
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1edfe63da74..4c6a9f561c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vpndemon
pkgdesc = VPNKS protects you against leaks caused by disconnetction
- pkgver = 1.0
+ pkgver = 3.0
pkgrel = 5
url = https://github.com/plasticbrain/vpnkillswitch
arch = any
@@ -12,7 +12,7 @@ pkgbase = vpndemon
depends = nm-connection-editor
depends = openvpn
depends = systemd
- source = master.zip
+ source = https://github.com/primaryobjects/vpndemon/archive/master.zip
sha256sums = e93b043e621644752d688f8c45836bd7b5f6f283fbcf2e9241afea35ed0221b7
sha384sums = a750b66d813750d9aa63ed76e79d1c51c39b2619835fa9571fa2ead8b04d64333c7424646211cf53f4e6422aa0af88dc
sha512sums = 38da3528540b4aa9cbe539dc2769ff76e73a734cd4a15ce2fe0f66978a9825d4e36a39c5dac8ce4deb5bac2a1f22b67d876d55a0c8b38544d9120b64597bf08a
diff --git a/PKGBUILD b/PKGBUILD
index 938e6f60a86..e51563248b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Michael Egger
#gpg key avaible at gpg --keyserver pgp.mit.edu --recv-keys DB68D18158C19A535A538524507F8DFE0C99485B
pkgname=vpndemon
-pkgver=1.0
+pkgver=3.0
pkgrel=5
pkgdesc="VPNKS protects you against leaks caused by disconnetction"
arch=('any')
@@ -9,7 +9,7 @@ url="https://github.com/plasticbrain/vpnkillswitch"
license=('GPL')
depends=('networkmanager' 'libnm-glib' 'networkmanager-openvpn' 'nm-connection-editor' 'openvpn' 'systemd')
makedepends=('bash')
-source=(master.zip
+source=(https://github.com/primaryobjects/vpndemon/archive/master.zip
)
sha384sums=('a750b66d813750d9aa63ed76e79d1c51c39b2619835fa9571fa2ead8b04d64333c7424646211cf53f4e6422aa0af88dc'
)
@@ -17,7 +17,6 @@ sha256sums=('e93b043e621644752d688f8c45836bd7b5f6f283fbcf2e9241afea35ed0221b7'
)
sha512sums=('38da3528540b4aa9cbe539dc2769ff76e73a734cd4a15ce2fe0f66978a9825d4e36a39c5dac8ce4deb5bac2a1f22b67d876d55a0c8b38544d9120b64597bf08a'
)
-
package() { mkdir -p "${pkgdir}/usr/bin"
for file in ${srcdir}/vpndemon-master/vpnde*
do
@@ -25,6 +24,7 @@ package() { mkdir -p "${pkgdir}/usr/bin"
done
echo "If you've questions about this package, please read: http://mikeeverhart.net/2015/12/vpn-killswitch-bash-script/"
echo "For recovery your connection please run # vpnkillswitch up"
+ mv ${pkgdir}/usr/bin/vpndemon.sh ${pkgdir}/usr/bin/vpndemon
}