summaryrefslogtreecommitdiff
path: root/extra/vpnc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/vpnc/PKGBUILD')
-rw-r--r--extra/vpnc/PKGBUILD21
1 files changed, 18 insertions, 3 deletions
diff --git a/extra/vpnc/PKGBUILD b/extra/vpnc/PKGBUILD
index 28994abc2..1e1228bba 100644
--- a/extra/vpnc/PKGBUILD
+++ b/extra/vpnc/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 135620 2011-08-16 16:43:05Z dreisner $
+# $Id: PKGBUILD 142551 2011-11-12 00:27:55Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
pkgname=vpnc
-pkgver=0.5.3.svn457
+_vpncver=0.5.3
+pkgver=$_vpncver.svn472
pkgrel=1
pkgdesc="VPN client for cisco3000 VPN Concentrators"
url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
@@ -14,9 +15,23 @@ arch=('i686' 'x86_64')
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
'vpnc.conf')
backup=('etc/vpnc/default.conf')
-md5sums=('033e642e17200a0efc0eda1c1c1886a2'
+md5sums=('51c350341ad4e7f8efbba19810b138a3'
'a3f4e0cc682f437e310a1c86ae198e45')
+mktarball() {
+ svn co http://svn.unix-ag.uni-kl.de/vpnc/trunk
+ pushd trunk
+ _svnrev=$(svn info | awk '/^Revision:/ { print $2 }')
+ popd
+
+ 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,}
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"