opt/gvim/Pkgfile

31 lines
646 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: GTK version of the vim editor
# URL: https://www.vim.org/
2021-03-08 13:49:10 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: gtk3 vim xorg-libxt
2006-02-23 16:26:10 +01:00
name=gvim
2024-04-22 10:39:27 +02:00
version=9.1.0363
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
2021-03-08 13:49:10 +01:00
build() {
cd vim-$version/src
2017-04-25 16:45:40 +02:00
2021-03-08 13:49:10 +01:00
sed -i '/^CFLAGS/d' Makefile
2017-04-25 16:45:40 +02:00
2021-03-08 13:49:10 +01:00
./configure \
--prefix=/usr \
--with-vim-name=gvim \
--with-x=yes \
--enable-gui=gtk3 \
--enable-multibyte \
--enable-cscope \
--disable-gpm \
--disable-nls
2007-04-19 18:34:23 +02:00
2021-03-08 13:49:10 +01:00
make VIMRTDIR=
make VIMRTDIR= DESTDIR=$PKG installvimbin install-icons
2009-06-18 10:02:03 +02:00
2021-03-08 13:49:10 +01:00
sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
2006-02-23 16:26:10 +01:00
}