repo/vim/build

15 lines
593 B
Text
Executable file

curl -# https://anduin.linuxfromscratch.org/BLFS/vim/vim-8.2.2890.tar.gz
tar -xf vim-8.2.2890.tar.gz
cd vim-8.2.2890
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h &&
echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h &&
./configure --prefix=/usr --with-features=huge --enable-gui=gtk3 --with-tlib=ncursesw
make
make DESTDIR="$1"
ln -snfv ../vim/vim82/doc $1/usr/share/doc/vim-8.2.2890
rsync -avzcP --exclude="$1/dos/" --exclude="/spell/" \
ftp.nluug.nl::Vim/runtime/ ./runtime/
make -C src installruntime
vim -c ":helptags /usr/share/doc/vim-8.2.2890" -c ":q"