#!/bin/bash # Build script for vim # Vi IMproved text editor set -e cd "$SRCDIR" # Go directly into src/ to bypass the wrapper script # (ksh93 has a built-in SRCDIR that causes infinite loops with the wrapper) cd src # Configure vim - minimal build, disable NLS to avoid locale issues on illumos # Use bash explicitly due to ksh93 compatibility issues CONFIG_SHELL=/usr/bin/bash /usr/bin/bash ./configure \ --prefix=$PREFIX \ --with-features=huge \ --enable-multibyte \ --disable-gui \ --without-x \ --disable-gpm \ --disable-sysmouse \ --disable-nls gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # Create vi symlink ln -sf vim "$PKGDIR$PREFIX/bin/vi" # vim - Vi IMproved text editor # https://www.vim.org/ [package] name = "vim" version = "9.1.0" release = 1 description = "Vi IMproved - highly configurable text editor" url = "https://www.vim.org/" license = "Vim" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["ncurses"] build = ["ncurses"] [[source]] file = "v9.1.0.tar.gz" urls = ["https://github.com/vim/vim/archive/refs/tags/v9.1.0.tar.gz"] checksum = "SKIP" [build] parallel = true jobs = 0