vim: update to 7.3.050.

This commit is contained in:
Juan RP 2010-11-09 03:46:37 +01:00
parent 4929462ff7
commit 2aa9b59024
3 changed files with 23 additions and 5 deletions

View file

@ -1 +0,0 @@
-Np1

View file

@ -1,9 +1,9 @@
# Template file for 'vim'
pkgname=vim
_distver=7.2
_patchver=239
_distver=7.3
_patchver=050
version=${_distver}.${_patchver}
wrksrc=vim72
wrksrc=vim73
distfiles="ftp://ftp.vim.org/pub/vim/unix/$pkgname-${_distver}.tar.bz2"
build_style=gnu_configure
configure_args="--disable-perlinterp --disable-pythoninterp --disable-rubyinterp
@ -12,7 +12,7 @@ configure_args="--disable-perlinterp --disable-pythoninterp --disable-rubyinterp
--without-x --enable-multibyte --with-tlib=ncursesw"
short_desc="Vim editor (vi clone)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=914db0f2205ebd6f02878295ec2506036ea7500399db112c61a01491cd9a1d86
checksum=5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d
long_desc="
Vim is an almost compatible version of the UNIX editor Vi. Many new features
have been added: multi level undo, syntax highlighting, command line history,
@ -26,3 +26,22 @@ Add_dependency run vim-common ">=${version}"
Add_dependency build glibc-devel
Add_dependency build ncursesw-devel
Add_dependency build acl-devel
pre_configure()
{
local url="ftp://ftp.vim.org/pub/vim/patches/${_distver}"
if [ "${_patchver}" -gt 000 ]; then
cd ${XBPS_SRCDISTDIR} || return 1
for p in $(seq -w 001 ${_patchver}); do
[ -f ${XBPS_SRCDISTDIR}/${_distver}.${p} ] && continue
msg_normal " Fetching ${url}/${_distver}-$p patch..."
$XBPS_FETCH_CMD ${url}/${_distver}.$p 2>&1
done
fi
cd ${wrksrc}
for p in $(seq -w 001 ${_patchver}); do
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/${_distver}.${p} && \
msg_normal "Applied patch ${_distver}.$p."
done
}