vim: update to 7.3 patch 1200.

This commit is contained in:
Juan RP 2013-06-16 08:43:07 +02:00
parent bbbff83a1f
commit 3d47bbb423
1 changed files with 11 additions and 13 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'vim'
pkgname=vim
_distver=7.3
_patchver=798
_patchver=1200
version=${_distver}.${_patchver}
revision=1
hostmakedepends="mercurial pkg-config"
@ -21,14 +21,12 @@ do_fetch() {
}
pre_configure() {
if [ -z "$CROSS_BUILD" ]; then
mkdir -p /tmp/vim-x11
cp -a $wrksrc/* /tmp/vim-x11
mv /tmp/vim-x11 $wrksrc/
mkdir -p /tmp/gvim
cp -a $wrksrc/* /tmp/gvim
mv /tmp/gvim $wrksrc/gvim
fi
mkdir -p /tmp/vim-x11
cp -a $wrksrc/* /tmp/vim-x11
mv /tmp/vim-x11 $wrksrc/
mkdir -p /tmp/gvim
cp -a $wrksrc/* /tmp/gvim
mv /tmp/gvim $wrksrc/gvim
}
do_configure() {
@ -81,7 +79,7 @@ do_install() {
}
vim-common_package() {
short_desc="VI iMproved - common files"
short_desc+=" - common files"
noarch=yes
replaces="vim<=7.2_2"
pkg_install() {
@ -92,18 +90,18 @@ vim-common_package() {
vim-x11_package() {
provides="vim-${version}"
replaces="vim>=0"
short_desc="VI iMproved - X11 version"
short_desc+=" - X11 version"
pkg_install() {
cd $wrksrc/vim-x11
make DESTDIR=$PKGDESTDIR install
rm -f ${PKGDESTDIR}/usr/bin/{ex,view}
rm -f $PKGDESTDIR/usr/bin/{ex,view}
rm -rf $PKGDESTDIR/usr/share
}
}
gvim_package() {
depends="desktop-file-utils hicolor-icon-theme"
short_desc="VI iMproved - GTK+ GUI"
short_desc+=" - GTK+ GUI"
pkg_install() {
cd $wrksrc/gvim
sed -i "s|/locolor|/hicolor|g" src/Makefile