summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/vim
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-09 17:42:53 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-09 17:42:53 (GMT)
commitcca47f4dd89c5b8f3fea9704ed5f91ccd41cc74c (patch)
tree88c4267dce277835e78aeded1c101922449922eb /abs/extra-testing/vim
parentc802f4e68f36af6d4ff89fc33c50a1837e007b76 (diff)
downloadlinhes_pkgbuild-cca47f4dd89c5b8f3fea9704ed5f91ccd41cc74c.zip
linhes_pkgbuild-cca47f4dd89c5b8f3fea9704ed5f91ccd41cc74c.tar.gz
linhes_pkgbuild-cca47f4dd89c5b8f3fea9704ed5f91ccd41cc74c.tar.bz2
Remove mouse support from vi and vim. Vim should once again act like its old loveable self.
Also updated to latest patchset. Signed-off-by: James Meyer <james.meyer@operamail.com>
Diffstat (limited to 'abs/extra-testing/vim')
-rw-r--r--abs/extra-testing/vim/PKGBUILD9
-rw-r--r--abs/extra-testing/vim/__changelog3
-rw-r--r--abs/extra-testing/vim/fetch_patches.sh5
3 files changed, 12 insertions, 5 deletions
diff --git a/abs/extra-testing/vim/PKGBUILD b/abs/extra-testing/vim/PKGBUILD
index d0355fc..7e3db29 100644
--- a/abs/extra-testing/vim/PKGBUILD
+++ b/abs/extra-testing/vim/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=vim
_srcver=7.2
-_patchlevel=65
+_patchlevel=132
pkgver=${_srcver}.${_patchlevel}
pkgrel=1.5
pkgdesc="a highly configurable, improved version of the vi text editor"
@@ -19,8 +19,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 \
fetch_patches.sh)
-md5sums=('f0901284b338e448bfd79ccca0041254' '35e04482f07c57221c9a751aaa3b8dac' \
- 'd8884786979e0e520c112faf2e176f05' 'a3b03cd44b8ed78a99850d4cbfaafe55')
build()
{
@@ -60,4 +58,9 @@ build()
${startdir}/pkg/etc/vimrc
# clean all settings and controls - served by vi package
rm -rf ${startdir}/pkg/usr/share/vim
+
+# Changes to remove mouse support VERY IMPORTANT!
+##############################################################
+ sed -i "s/mouse=a/mouse-=a/g" $startdir/pkg/etc/vimrc
+#################################################################
}
diff --git a/abs/extra-testing/vim/__changelog b/abs/extra-testing/vim/__changelog
new file mode 100644
index 0000000..47cbb5f
--- /dev/null
+++ b/abs/extra-testing/vim/__changelog
@@ -0,0 +1,3 @@
+Remove mouse support from /etc/vimrc. This new found ability is truely annoying.
+
+
diff --git a/abs/extra-testing/vim/fetch_patches.sh b/abs/extra-testing/vim/fetch_patches.sh
index 03e16e2..2ce1019 100644
--- a/abs/extra-testing/vim/fetch_patches.sh
+++ b/abs/extra-testing/vim/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