vim: split common stuff into vim-common subpkg, bumprev.

--HG--
extra : convert_revision : 3460d5392c970d2916fccb803898e15a7d8702f1
This commit is contained in:
Juan RP 2010-01-21 03:35:46 +01:00
parent 0da86577ab
commit 1d88a62bd7
3 changed files with 19 additions and 1 deletions

1
srcpkgs/vim-common Symbolic link
View file

@ -0,0 +1 @@
vim

View file

@ -1,7 +1,7 @@
# Template file for 'vim'
pkgname=vim
version=7.2
revision=2
revision=3
wrksrc=vim72
distfiles="ftp://ftp.vim.org/pub/vim/unix/$pkgname-$version.tar.bz2"
build_style=gnu_configure
@ -17,9 +17,11 @@ long_desc="
have been added: multi level undo, syntax highlighting, command line history,
on-line help, filename completion, block operations, etc."
subpackages="vim-common"
Add_dependency run glibc
Add_dependency run ncursesw
Add_dependency run acl
Add_dependency run vim-common ">=${version}"
Add_dependency build glibc-devel
Add_dependency build ncursesw-devel
Add_dependency build acl-devel

View file

@ -0,0 +1,15 @@
# Template file for 'vim-common'.
#
short_desc="VI iMproved - common files"
long_desc="${long_desc}
This package contains common files shared by all vim flavours."
noarch=yes
replaces="vim<=7.2_2"
do_install()
{
mkdir -p ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/vim ${DESTDIR}/usr/share
}