2006-02-23 15:26:10 +00:00
|
|
|
# Description: GTK version of the vim editor
|
|
|
|
# URL: http://www.vim.org/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2012-11-21 15:58:31 +01:00
|
|
|
# Depends on: vim, gtk, xorg-libxt
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=gvim
|
2018-03-07 19:12:45 +01:00
|
|
|
version=8.0.1587
|
2007-05-13 10:49:23 +02:00
|
|
|
release=1
|
2017-09-08 11:13:00 +02:00
|
|
|
source=(https://github.com/vim/vim/archive/v${version}/vim-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2017-09-08 11:13:00 +02:00
|
|
|
cd vim-$version/src
|
2017-04-25 16:45:40 +02:00
|
|
|
|
|
|
|
sed -i '/^CFLAGS/d' Makefile
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-vim-name=gvim \
|
|
|
|
--with-x=yes \
|
|
|
|
--enable-gui=gtk2 \
|
2006-07-16 18:49:43 +00:00
|
|
|
--enable-multibyte \
|
2016-03-16 13:13:07 +01:00
|
|
|
--enable-cscope \
|
2006-02-23 15:26:10 +00:00
|
|
|
--disable-gpm \
|
|
|
|
--disable-nls
|
2007-04-19 18:34:23 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
make VIMRTDIR=
|
2016-09-24 18:29:39 +02:00
|
|
|
make VIMRTDIR= DESTDIR=$PKG installvimbin install-icons
|
2009-06-18 10:02:03 +02:00
|
|
|
|
2016-09-24 18:29:39 +02:00
|
|
|
sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|