opt/gvim/Pkgfile
2020-11-02 11:26:27 +01:00

30 lines
768 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 gtk3 xorg-libxt
name=gvim
version=8.2.1941
release=1
source=(https://github.com/vim/vim/archive/v${version}/vim-$version.tar.gz)
build () {
cd vim-$version/src
sed -i '/^CFLAGS/d' Makefile
./configure --prefix=/usr \
--with-vim-name=gvim \
--with-x=yes \
--enable-gui=gtk3 \
--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
}