void-packages/srcpkgs/gvim/template

52 lines
1.2 KiB
Plaintext
Raw Normal View History

# Build template file for 'gvim'.
#
# Source vim template and overwrite some vars, it's stupid
# to duplicate all this stuff again!
#
. ${XBPS_SRCPKGDIR}/vim/template
2011-07-07 17:27:39 +02:00
unset subpackages revision
pkgname=gvim
configure_args="${configure_args} --enable-gui=gtk2 --with-x
--with-vim-name=gvim"
make_install_target="-C src
DESTDIR=${XBPS_DESTDIR}/${pkgname}-${version} installvimbin install-icons"
short_desc="${short_desc} (GTK+ GUI)"
long_desc="${long_desc}
This packages contains gvim, the GTK+ GUI version of vim."
gtk_iconcache_dirs="/usr/share/icons/hicolor"
Add_dependency run atk
Add_dependency run glib
Add_dependency run pango
Add_dependency run cairo
Add_dependency run freetype
Add_dependency run fontconfig
2010-11-09 09:05:28 +01:00
Add_dependency run gdk-pixbuf
Add_dependency run gtk+
Add_dependency run libXt
Add_dependency run libX11
Add_dependency run libSM
Add_dependency run libICE
Add_dependency build pkg-config
Add_dependency build gtk+-devel
Add_dependency full desktop-file-utils
Add_dependency full hicolor-icon-theme
pre_install()
{
2011-07-07 17:27:39 +02:00
sed -i "s|/locolor|/hicolor|g" src/Makefile
for d in 16 32 48; do
2011-07-07 17:27:39 +02:00
vmkdir usr/share/icons/hicolor/${d}x${d}/apps
done
}
post_install()
{
2011-07-07 17:27:39 +02:00
vinstall ${FILESDIR}/gvim.desktop 644 usr/share/applications
}