vim: update to 7.4.404.

This commit is contained in:
Juan RP 2014-08-16 08:37:30 +02:00
parent 1087c6492f
commit f78c9f266b
1 changed files with 5 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'vim' # Template file for 'vim'
pkgname=vim pkgname=vim
_distver=7.4 _distver=7.4
_patchver=383 _patchver=404
version=${_distver}.${_patchver} version=${_distver}.${_patchver}
revision=1 revision=1
hostmakedepends="mercurial pkg-config" hostmakedepends="mercurial pkg-config"
@ -13,10 +13,10 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.vim.org" homepage="http://www.vim.org"
license="GPL-2" license="GPL-2"
VIM_SUBPKGS="vim-x11 gvim" subpackages="vim-common vim-x11 gvim"
# XXX vim-huge cannot be cross compiled for now. # XXX vim-huge cannot be cross compiled for now.
if [ -z "$CROSS_BUILD" ]; then if [ -z "$CROSS_BUILD" ]; then
VIM_SUBPKGS+=" vim-huge" subpackages+=" vim-huge"
fi fi
do_fetch() { do_fetch() {
@ -25,7 +25,7 @@ do_fetch() {
} }
pre_configure() { pre_configure() {
for f in ${VIM_SUBPKGS}; do for f in ${subpackages}; do
mkdir -p /tmp/${f} mkdir -p /tmp/${f}
cp -a $wrksrc/* /tmp/${f} cp -a $wrksrc/* /tmp/${f}
mv /tmp/${f} $wrksrc/${f} mv /tmp/${f} $wrksrc/${f}
@ -76,7 +76,7 @@ do_build() {
cd $wrksrc cd $wrksrc
make ${makejobs} make ${makejobs}
for f in ${VIM_SUBPKGS}; do for f in ${subpackages}; do
cd $wrksrc/$f cd $wrksrc/$f
make ${makejobs} make ${makejobs}
done done
@ -130,9 +130,6 @@ gvim_package() {
} }
} }
# XXX disabled for cross builds.
if [ -z "$CROSS_BUILD" ]; then
vim-huge_package() { vim-huge_package() {
depends="python vim-common-${version}_${revision}" depends="python vim-common-${version}_${revision}"
short_desc+=" - Huge (all features enabled)" short_desc+=" - Huge (all features enabled)"
@ -145,5 +142,3 @@ vim-huge_package() {
rm -rf $PKGDESTDIR/usr/share rm -rf $PKGDESTDIR/usr/share
} }
} }
fi