opt/gvim/Pkgfile

30 lines
768 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01: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
# Depends on: vim gtk3 xorg-libxt
2006-02-23 16:26:10 +01:00
name=gvim
2021-01-03 12:45:52 +01:00
version=8.2.2282
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 16:26:10 +01: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 16:26:10 +01:00
./configure --prefix=/usr \
--with-vim-name=gvim \
--with-x=yes \
--enable-gui=gtk3 \
2006-07-16 20:49:43 +02:00
--enable-multibyte \
--enable-cscope \
2006-02-23 16:26:10 +01:00
--disable-gpm \
--disable-nls
2007-04-19 18:34:23 +02:00
2006-02-23 16:26:10 +01: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 16:26:10 +01:00
}