From cc56245520e22b6650deca2b1edd878adf27f6f1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 14 Jul 2012 21:16:50 +0200 Subject: [PATCH] vim{,-x11}: this provides the vi virtual pkg. --- srcpkgs/vim/template | 4 +++- srcpkgs/vim/vim-x11.template | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/vim/template b/srcpkgs/vim/template index d6b0fdc8594..f8b60e539fe 100644 --- a/srcpkgs/vim/template +++ b/srcpkgs/vim/template @@ -3,9 +3,11 @@ pkgname=vim _distver=7.3 _patchver=600 version=${_distver}.${_patchver} -revision=1 +revision=2 nofetch=yes noextract=yes +provides="vi-$version" +replaces="vi>=0" subpackages="vim-common vim-x11 gvim" depends="vim-common>=$version" makedepends="mercurial ncurses-devel acl-devel pkg-config libXt-devel gtk+-devel" diff --git a/srcpkgs/vim/vim-x11.template b/srcpkgs/vim/vim-x11.template index b6b49e1de0c..163782ef6b5 100644 --- a/srcpkgs/vim/vim-x11.template +++ b/srcpkgs/vim/vim-x11.template @@ -1,7 +1,7 @@ # Template file for 'vim-x11'. # -provides="vim-${version}" -replaces="vim>=0" +provides="vi-${version} vim-${version}" +replaces="vim>=0 vi>=0" short_desc="VI iMproved - X11 version" long_desc="${long_desc}