summaryrefslogtreecommitdiff
path: root/extra/vpnc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vpnc/PKGBUILD')
-rw-r--r--extra/vpnc/PKGBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/extra/vpnc/PKGBUILD b/extra/vpnc/PKGBUILD
index ad1e703de..4529ddacc 100644
--- a/extra/vpnc/PKGBUILD
+++ b/extra/vpnc/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 145645 2011-12-26 07:05:40Z dreisner $
+# $Id: PKGBUILD 154323 2012-03-26 10:17:14Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgname=vpnc
_vpncver=0.5.3
-pkgver=$_vpncver.svn481
+pkgver=$_vpncver.svn516
pkgrel=1
pkgdesc="VPN client for cisco3000 VPN Concentrators"
url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
@@ -15,7 +15,7 @@ arch=('i686' 'x86_64' 'mips64el')
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
'vpnc.conf')
backup=('etc/vpnc/default.conf')
-md5sums=('42edf29f8b9f05cd2e708d5130deb770'
+md5sums=('2118c5ccc464250c0892be57dbfabdf7'
'a3f4e0cc682f437e310a1c86ae198e45')
mktarball() {
@@ -26,9 +26,6 @@ mktarball() {
svn co http://svn.unix-ag.uni-kl.de/vpnc/trunk
_svnrev=$(cd trunk >/dev/null; svn info | awk '/^Revision:/ { print $2 }')
- git clone git://git.infradead.org/users/dwmw2/vpnc-scripts.git
- cp vpnc-scripts/vpnc-script trunk/
-
find trunk/ -type d -name .svn -exec rm -rf {} +
mv trunk "$pkgname-$_vpncver.svn$_svnrev"
tar cJf "../$pkgname-$_vpncver.svn$_svnrev.tar.xz" "$pkgname-$_vpncver.svn$_svnrev/"
@@ -54,6 +51,5 @@ package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
- rm -f "$pkgdir"/etc/vpnc/vpnc.conf
- install -D -m644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
+ install -Dm644 "$srcdir"/vpnc.conf "$pkgdir"/etc/vpnc/default.conf
}