From aee4182529dd4a4ac9909f3cd758eb1207dbb564 Mon Sep 17 00:00:00 2001 From: jbu Date: Fri, 21 Aug 2015 10:47:49 +0200 Subject: [PATCH] vim: update to 7.4.827 + Also change template to download from github.com --- srcpkgs/vim/template | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/srcpkgs/vim/template b/srcpkgs/vim/template index 2d2938f865..1c273edbf7 100644 --- a/srcpkgs/vim/template +++ b/srcpkgs/vim/template @@ -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 " 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}