Merge pull request #2313 from pullmoll/vim

vim: update to 7.4.827
This commit is contained in:
Jürgen Buchmüller 2015-08-21 18:50:31 +02:00
commit 8782305ba6

View file

@ -1,10 +1,8 @@
# Template file for 'vim'
pkgname=vim
_distver=7.4
_patchver=763
version=${_distver}.${_patchver}
version=7.4.827
revision=1
hostmakedepends="mercurial pkg-config"
hostmakedepends="pkg-config"
makedepends="ncurses-devel acl-devel libXt-devel gtk+-devel perl
ruby-devel python-devel python3.4-devel lua-devel"
depends="vim-common>=$version"
@ -12,6 +10,8 @@ short_desc="Vim editor (vi clone)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.vim.org"
license="GPL-2"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=8920db8115c78d260abbb2757ebf0e1e64d6e2f989626435fffad1ef37a9760f
subpackages="vim-common vim-x11 gvim"
# XXX vim-huge cannot be cross compiled for now.
@ -19,11 +19,6 @@ if [ -z "$CROSS_BUILD" ]; then
subpackages+=" vim-huge vim-huge-python3"
fi
do_fetch() {
local url="http://code.google.com/p/vim/"
hg clone -u v${_distver/./-}-${_patchver} ${url} ${pkgname}-${version}
}
pre_configure() {
for f in ${subpackages/vim-common/}; do
mkdir -p /tmp/${f}