2012-07-13 09:06:22 +00:00
|
|
|
# Template file for 'vim-x11'.
|
|
|
|
#
|
|
|
|
depends="desktop-file-utils hicolor-icon-theme"
|
2012-10-05 16:29:09 +00:00
|
|
|
|
2012-07-13 09:06:22 +00:00
|
|
|
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
|
|
|
|
}
|