diff options
author | root <root@rshg054.dnsready.net> | 2012-03-28 00:01:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-28 00:01:38 +0000 |
commit | a26ce336126d18cde915c2331250b8dfbffc24f8 (patch) | |
tree | dd0ee1c89d9c153abfde0b4e7878a2931893ed4c /extra/vpnc | |
parent | c8729cab8302ab82e01135a22fb9fa9704f1559b (diff) |
Wed Mar 28 00:01:38 UTC 2012
Diffstat (limited to 'extra/vpnc')
-rw-r--r-- | extra/vpnc/PKGBUILD | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/extra/vpnc/PKGBUILD b/extra/vpnc/PKGBUILD index ae8a08765..392e7b401 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') 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 } |