hi.
it's not to begin another vim vs. emacs troll,
but vim 7.1 is out for some time now and we still wait for the package of it.
here is my PKGBUILD for it (i still do not understand why previously there was
the need to have runtime.tar.gz in abs tree. it works without here)
==================================
# $Id: PKGBUILD,v 1.41 2007/05/09 15:42:38 tpowa Exp $
# Maintainer: judd <[EMAIL PROTECTED]>
# ATTENTION: due to the high number of patches and the subsequent big
# md5sums-array please build like this
# 1. raise _patchlevel here in PKGBUILD
# 2. run cumulative.sh (creates cumulative.patch)
# 3. if runtime is out of date, run update-runtime.sh to build a new tarball
# 4. run makepkg
pkgname=vim
_srcver=7.1
_patchlevel=002
pkgver=${_srcver}.${_patchlevel}
pkgrel=1
pkgdesc="a highly configurable, improved version of the vi text editor built
to enable efficient text editing"
arch=(i686 x86_64)
url="http://www.vim.org"
depends=('glibc' 'ncurses' 'perl')
backup=(etc/vimrc)
conflicts=('vim-devel')
provides=('vim-devel')
install=${pkgname}.install
# we need the extra-stuff to get all patches applied smoothly
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 \
filetype.patch cumulative.patch)
md5sums=('44c6b4914f38d6f9aa959640b89da329'
'605cc7ae31bcc9d7864bb0bb6025f55d'
'144aa049ba70621acf4247f0459f3ee7'
'4e00668af668f38c591086396fd50993'
'9fe026064dc493f6aa014b15adef7b04')
build()
{
cd ${startdir}/src/vim71/runtime
patch -Np0 < ../../filetype.patch || return 1
cd ${startdir}/src/vim71
# patch party
patch -Np0 < ../cumulative.patch || return 1
sed -i 's|^.*\(#define SYS_.*VIMRC_FILE.*"\) .*$|\1|' src/feature.h
# build party
./configure --prefix=/usr --localstatedir=/var/lib/${pkgname} \
--disable-gpm --disable-acl --with-x=no --disable-gui --enable-multibyte \
--enable-cscope --with-features=big --enable-perlinterp
make || return 1
make VIMRCLOC=/etc DESTDIR=${startdir}/pkg VIMRTDIR= install
cd ${startdir}/pkg/usr/bin
ln -sf vim vi
# kill the nobackup parts
sed -i '/vms/,+4 d' ${startdir}/pkg/usr/share/vim/vimrc_example.vim
install -Dm644 ${startdir}/pkg/usr/share/vim/vimrc_example.vim \
${startdir}/pkg/etc/vimrc
rm -f ${startdir}/pkg/usr/share/vim/gvimrc_example.vim
cp -rf $startdir/src/vim71/runtime/* $startdir/pkg/usr/share/vim/
}
_______________________________________________
arch mailing list
[email protected]
http://archlinux.org/mailman/listinfo/arch