|
root / base / vim
vim Plain Text 56 lines 1.2 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/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 <chris.tusa@leafscale.com>"
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