vim: update to 7.3.600; merge vim-x11 and gvim as subpkgs.

This commit is contained in:
Juan RP
2012-07-13 11:06:22 +02:00
parent 644891aeb2
commit 22f39831c5
11 changed files with 88 additions and 72 deletions

19
srcpkgs/vim/gvim.template Normal file
View File

@@ -0,0 +1,19 @@
# Template file for 'vim-x11'.
#
depends="desktop-file-utils hicolor-icon-theme"
gtk_iconcache_dirs="/usr/share/icons/hicolor"
short_desc="VI iMproved - GTK+ GUI"
long_desc="${long_desc}
This packages contains gvim, the GTK+ GUI version of vim."
do_install() {
cd $wrksrc/gvim
sed -i "s|/locolor|/hicolor|g" src/Makefile
for d in 16 32 48; do
vmkdir usr/share/icons/hicolor/${d}x${d}/apps
done
make -C src DESTDIR=$DESTDIR installvimbin install-icons
vinstall ${FILESDIR}/gvim.desktop 644 usr/share/applications
}