[arch-commits] Commit in vim/trunk (PKGBUILD vimrc)
Daniel Griffiths
dgriffiths at archlinux.org
Fri Feb 12 20:04:31 UTC 2010
Date: Friday, February 12, 2010 @ 15:04:30
Author: dgriffiths
Revision: 68412
FS#1651,16840,17216
Modified:
vim/trunk/PKGBUILD
vim/trunk/vimrc
----------+
PKGBUILD | 14 +++++++++-----
vimrc | 6 +++---
2 files changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-12 19:28:06 UTC (rev 68411)
+++ PKGBUILD 2010-02-12 20:04:30 UTC (rev 68412)
@@ -3,16 +3,15 @@
pkgname=vim
_srcver=7.2
-_patchlevel=266
+_patchlevel=359
pkgver=${_srcver}.${_patchlevel}
pkgrel=1
pkgdesc='Vi Improved, a highly configurable, improved version of the vi text editor'
arch=(i686 x86_64)
license=('custom:vim')
url="http://www.vim.org"
-depends=('gpm' 'coreutils')
-makedepends=('wget' 'sed' 'grep' 'gettext' 'perl')
-optdepends=('perl: the runtime provides a few useful perl scripts')
+depends=('gpm' 'coreutils' 'perl')
+makedepends=('wget' 'sed' 'grep' 'gettext')
backup=(etc/vimrc)
install=${pkgname}.install
# we need the extra-stuff to get all patches applied smoothly
@@ -22,7 +21,7 @@
fetch_patches.sh fetch_runtime.sh vimrc archlinux.vim)
md5sums=('f0901284b338e448bfd79ccca0041254' '35e04482f07c57221c9a751aaa3b8dac' \
'd8884786979e0e520c112faf2e176f05' '6d7e8d7868e8bfaa9a5880cd9c439320' \
- '45c1c3c6aff7de0d8fc2a9d8cd5cec7d' '29125bedc96f2a58c772ee0455a333bc' \
+ '45c1c3c6aff7de0d8fc2a9d8cd5cec7d' '3f42c68545b5b1afb2e9a5b2731ef063' \
'10353a61aadc3f276692d0e17db1478e')
build()
@@ -32,6 +31,7 @@
. ${srcdir}/fetch_patches.sh
. ${srcdir}/fetch_runtime.sh
get_patches || return 1
+
cd ${srcdir}/${_versiondir}
sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*"\) .*$|\1|' src/feature.h
sed -i 's|^.*\(#define VIMRC_FILE.*"\) .*$|\1|' src/feature.h
@@ -61,6 +61,10 @@
rm -f evim.1 # this does not make sense in the console version
done
+ # fix FS#17216
+ sed -i 's|messages,/var|messages,/var/log/messages.log,/var|' \
+ ${pkgdir}/usr/share/vim/vim72/filetype.vim
+
_runtimedir="${pkgdir}/usr/share/vim/${_versiondir}/"
update_runtime
cd ${srcdir}/${_versiondir}
Modified: vimrc
===================================================================
--- vimrc 2010-02-12 19:28:06 UTC (rev 68411)
+++ vimrc 2010-02-12 20:04:30 UTC (rev 68412)
@@ -10,7 +10,7 @@
" properly set to work with the Vim-related packages available in Debian.
runtime! archlinux.vim
+" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
+" Or better yet, read /usr/share/vim/vim72/vimrc_example.vim or the vim manual
+" and configure vim to your own liking!
-" For more option refer to /usr/share/vim/vim72/vimrc_example.vim or the vim
-" manual
-
More information about the arch-commits
mailing list