opt/gvim/Pkgfile

28 lines
723 B
Plaintext

# Description: GTK version of the vim editor
# URL: http://www.vim.org/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: vim, gtk, xorg-libxt
name=gvim
version=8.0.0095
release=1
source=(http://crux.nu/files/distfiles/vim-$version.tar.xz)
build () {
cd vim-$version/src
./configure --prefix=/usr \
--with-vim-name=gvim \
--with-x=yes \
--enable-gui=gtk2 \
--enable-multibyte \
--enable-cscope \
--disable-gpm \
--disable-nls
make VIMRTDIR=
make VIMRTDIR= DESTDIR=$PKG installvimbin install-icons
sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
}