[arch-commits] CVS update of arch/build/base/vi (PKGBUILD fetch_runtime.sh)

Tobias Kieslich tobias at archlinux.org
Wed Aug 22 22:37:18 UTC 2007


    Date: Wednesday, August 22, 2007 @ 18:37:18
  Author: tobias
    Path: /home/cvs-arch/arch/build/base/vi

Modified: PKGBUILD (1.9 -> 1.10) fetch_runtime.sh (1.3 -> 1.4)

squish 2 bugs and new patches from upstream


------------------+
 PKGBUILD         |    8 ++++----
 fetch_runtime.sh |    1 +
 2 files changed, 5 insertions(+), 4 deletions(-)


Index: arch/build/base/vi/PKGBUILD
diff -u arch/build/base/vi/PKGBUILD:1.9 arch/build/base/vi/PKGBUILD:1.10
--- arch/build/base/vi/PKGBUILD:1.9	Tue Aug 21 11:35:42 2007
+++ arch/build/base/vi/PKGBUILD	Wed Aug 22 18:37:14 2007
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD,v 1.9 2007/08/21 15:35:42 dan Exp $
+# $Id: PKGBUILD,v 1.10 2007/08/22 22:37:14 tobias Exp $
 # Maintainer: tobias [ tobias at archlinux org ]
 
 pkgname=vi
 _srcver=7.1
-_patchlevel=79
+_patchlevel=87
 pkgver=${_srcver}.${_patchlevel}
 pkgrel=1
 pkgdesc="a highly configurable, improved version of the vi text editor (basic version)"
@@ -24,7 +24,7 @@
          '605cc7ae31bcc9d7864bb0bb6025f55d'
          '144aa049ba70621acf4247f0459f3ee7'
          'a79d5812709f8ffab2898b51345f035d'
-         'ac1c3a474661ac615175417b55e0d6ad')
+         'a0f57b251b091b0302cce1da48114eba')
 
 build()
 {
@@ -36,7 +36,7 @@
   # set the virc different from vimrc
   sed -i 's|^.*\(#define SYS_VIMRC_FILE.*"\) .*$|\1|' src/feature.h
   sed -i 's|^.*\(#define VIMRC_FILE.*"\) .*$|\1|' src/feature.h
-  sed -i 's|^.*\(#define USR_VIMRC_FILE.*"\) .*$|\1|' src/feature.h
+  sed -i 's|^.*\(#define USR_VIMRC_FILE\t"\).*$|\1$HOME/.virc"|' src/feature.h
   sed -i 's|/etc/vimrc|/etc/virc|' src/feature.h
   sed -i 's|\.vimrc|.virc|' src/feature.h
   # build party
Index: arch/build/base/vi/fetch_runtime.sh
diff -u arch/build/base/vi/fetch_runtime.sh:1.3 arch/build/base/vi/fetch_runtime.sh:1.4
--- arch/build/base/vi/fetch_runtime.sh:1.3	Sun Aug 12 16:52:04 2007
+++ arch/build/base/vi/fetch_runtime.sh	Wed Aug 22 18:37:17 2007
@@ -107,6 +107,7 @@
   else
     echo -e "\tpatching filetype.vim for better handling of pacman related files ..."
     sed -i "s/rpmsave/pacsave/;s/rpmnew/pacnew/;s/,\*\.ebuild/\0,PKGBUILD*,*.install/" filetype.vim
+    sed -i "/find the end/,+3{s/changelog_date_entry_search/changelog_date_end_entry_search/}" ftplugin/changelog.vim
   fi
   cd "${_OLDDIR}"
   return 0




More information about the arch-commits mailing list