blob: c3317f643c566747abe84541a7565730ceb01d9d (
plain)
1 # Description: GTK version of the vim editor
2 # URL: http://www.vim.org/
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: vim, gtk, xorg-libxt
5
6 name=gvim
7 version=8.0.1386
8 release=1
9 source=(https://github.com/vim/vim/archive/v${version}/vim-$version.tar.gz)
10
11 build () {
12 cd vim-$version/src
13
14 sed -i '/^CFLAGS/d' Makefile
15
16 ./configure --prefix=/usr \
17 --with-vim-name=gvim \
18 --with-x=yes \
19 --enable-gui=gtk2 \
20 --enable-multibyte \
21 --enable-cscope \
22 --disable-gpm \
23 --disable-nls
24
25 make VIMRTDIR=
26 make VIMRTDIR= DESTDIR=$PKG installvimbin install-icons
27
28 sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
29 }
|