From 1b45663e091b8f92de296712b018d413de0f9996 Mon Sep 17 00:00:00 2001 From: str1ngs Date: Sun, 3 Jul 2011 03:16:14 -0700 Subject: [PATCH] vim-x11: fix provides/replaces, remove vim-common conflicts --- srcpkgs/vim-x11/template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/srcpkgs/vim-x11/template b/srcpkgs/vim-x11/template index 8a076a57805..44d570b12f6 100644 --- a/srcpkgs/vim-x11/template +++ b/srcpkgs/vim-x11/template @@ -6,15 +6,15 @@ . ${XBPS_SRCPKGDIR}/vim/template unset subpackages pkgname=vim-x11 -revision=2 +revision=3 configure_args="${configure_args} --enable-gui=no --with-x" short_desc="${short_desc} (x11)" long_desc="${long_desc} This packages contains vim-x11, the x11 capable version of vim." -provides="vim>=0" -replaces="vim>=0" +provides="vim-${version}" +replaces="vim>=${version}" Add_dependency run libXt Add_dependency run libX11 @@ -24,3 +24,9 @@ Add_dependency run libICE Add_dependency build pkg-config Add_dependency build libXt-devel Add_dependency build libX11-devel +Add_dependency build libICE-devel + +post_install() +{ + rm -rf ${DESTDIR}/usr/share +}