gvim: make this build.

This commit is contained in:
Juan RP 2011-07-07 17:27:39 +02:00
parent 182355ecfb
commit f2626db03b

View file

@ -4,7 +4,7 @@
# to duplicate all this stuff again!
#
. ${XBPS_SRCPKGDIR}/vim/template
unset subpackages
unset subpackages revision
pkgname=gvim
configure_args="${configure_args} --enable-gui=gtk2 --with-x
@ -49,14 +49,14 @@ Add_dependency full hicolor-icon-theme
pre_install()
{
sed -i "s|/locolor|/hicolor|g" ${wrksrc}/src/Makefile || return 1
cd ${wrksrc}/${build_wrksrc}
sed -i "s|/locolor|/hicolor|g" src/Makefile
for d in 16 32 48; do
install -d ${DESTDIR}/usr/share/icons/hicolor/${d}x${d}/apps
vmkdir usr/share/icons/hicolor/${d}x${d}/apps
done
}
post_install()
{
install -D -m644 ${FILESDIR}/gvim.desktop \
${DESTDIR}/usr/share/applications/gvim.desktop
vinstall ${FILESDIR}/gvim.desktop 644 usr/share/applications
}