From 68457d950ed5ebd76bfb18d88ff29fd911d336ef Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 9 Mar 2009 12:43:09 -0500
Subject: updated gvim to latest patchset.

---
 abs/extra-testing/gvim/PKGBUILD         | 9 +++++----
 abs/extra-testing/gvim/fetch_patches.sh | 5 +++--
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/abs/extra-testing/gvim/PKGBUILD b/abs/extra-testing/gvim/PKGBUILD
index 9e165bd..63c901a 100644
--- a/abs/extra-testing/gvim/PKGBUILD
+++ b/abs/extra-testing/gvim/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=gvim
 _srcver=7.2
-_patchlevel=65
+_patchlevel=132
 pkgver=${_srcver}.${_patchlevel}
 pkgrel=1
 pkgdesc="the vim text editor with advanced features enabled, such as a gui mode"
@@ -20,9 +20,6 @@ source=(ftp://ftp.vim.org/pub/vim/unix/vim-${_srcver}.tar.bz2 \
         ftp://ftp.vim.org/pub/vim/extra/vim-${_srcver}-extra.tar.gz \
         ftp://ftp.vim.org/pub/vim/extra/vim-${_srcver}-lang.tar.gz \
         ${pkgname}.desktop fetch_patches.sh)
-md5sums=('f0901284b338e448bfd79ccca0041254' '35e04482f07c57221c9a751aaa3b8dac' \
-         'd8884786979e0e520c112faf2e176f05' '2be104c0372dd6dae19cb7968c03cd4f' \
-         'a3b03cd44b8ed78a99850d4cbfaafe55')
 
 build()
 {
@@ -80,4 +77,8 @@ build()
     ${startdir}/pkg/usr/share/applications/gvim.desktop
   install -D -m644 ${startdir}/src/vim$(echo ${_srcver} | sed "s/\.//")/runtime/vim48x48.png \
     ${startdir}/pkg/usr/share/pixmaps/gvim.png
+
+ ##############################################################
+   sed -i "s/mouse=a/mouse-=a/g" $startdir/pkg/etc/gvimrc
+ #################################################################
 }
diff --git a/abs/extra-testing/gvim/fetch_patches.sh b/abs/extra-testing/gvim/fetch_patches.sh
index 03e16e2..2ce1019 100644
--- a/abs/extra-testing/gvim/fetch_patches.sh
+++ b/abs/extra-testing/gvim/fetch_patches.sh
@@ -17,7 +17,7 @@ get_patches() {
   echo -e "\tfetching checksumfile for patches"
   wget ${_rpath}/MD5SUMS >/dev/null 2>&1
 
-  downloads=0
+  downloads=-1
   for _line in $(/bin/cat MD5SUMS); do
     downloads=$((${downloads} + 1))
     _md5=$(echo $_line | cut -d ' ' -f1)
@@ -42,7 +42,8 @@ get_patches() {
       return 1
     fi
   done
-
+  cd $startdir/src/patches
+  rm 7.2.001-100.gz
   ########
 
   if [ ${downloads} != ${_patchlevel} ]; then
-- 
cgit v0.12