[arch-commits] Commit in vi/trunk (PKGBUILD)

Tobias Kieslich tobias at archlinux.org
Wed Oct 29 18:34:20 UTC 2008


    Date: Wednesday, October 29, 2008 @ 14:34:20
  Author: tobias
Revision: 17430

upgpkg: vi 7.2.25-1

Modified:
  vi/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-29 16:09:05 UTC (rev 17429)
+++ PKGBUILD	2008-10-29 18:34:20 UTC (rev 17430)
@@ -3,7 +3,7 @@
 
 pkgname=vi
 _srcver=7.2
-_patchlevel=13
+_patchlevel=25
 pkgver=${_srcver}.${_patchlevel}
 pkgrel=1
 pkgdesc="a highly configurable, improved version of the vi text editor (basic version)"
@@ -45,14 +45,18 @@
   make || return 1
   make  VIMRCLOC=/etc DESTDIR=${startdir}/pkg VIMRTDIR= install
   cd ${startdir}/pkg/usr/bin
-  rm -f vim rvim view rview
+  rm -f vim rvim view rview vidiff
   ln -s vi evi
 
+  # delete the manpages for vidiff, we don't bother with that symlink since vidiff doesn't work
+  find ${startdir}/pkg/usr/share/man -type d -name 'man1' 2> /dev/null | \
+   while read mandir; do
+    cd ${mandir}
+    rm -f vidiff.1
+  done
+
   _runtimedir="${startdir}/pkg/usr/share/vim/"
   update_runtime
-  # kill vim and x specific stuff
-  #sed -i '/vms/,+4 d;/Convenient command/,+3 d;/mouse work/,+2 d'\
-  #  ${startdir}/pkg/usr/share/vim/vimrc_example.vim
   install -Dm644 ${startdir}/pkg/usr/share/vim/vimrc_example.vim \
     ${startdir}/pkg/etc/virc
   rm -f ${startdir}/pkg/usr/share/vim/gvimrc_example.vim




More information about the arch-commits mailing list