pantry/projects/vim.org/package.yml
Jacob Heider d7adf09a43
replace hardcoded versions (mostly) (#1733)
* update(slirp)

* update(poppler-data)

* update(doxygen)

* update(xcb)

* update(sm)

* update(xdmcp)

* update(ice)

* update(util-macros)

* update(xtrans)

* update(xmu)

* update(xt)

* update(xau)

* update(xrender)

* update(x11)

* update(xcb-proto)

* update(xpm)

* update(xaw)

* update(xorg-protocol)

* update(exts)

* update(lame)

* update(nmap)

* update(cairo)

* update(unicode)

* update(gts)

* update(vim)

* update(libtiff)

* update(lua)

* comment(bpb)

* update(giflib)

* update(gdk-pixbuf)

* update(gobj-intro)

* update(libcap2)

* update(gnuplot)

* update(dav1d)

* update(wumpus)

* update(librist)

* update(subversion)

* comment(jbig2dec)

* update(moreutils)

* update(eigen)

* update(ogg)

* update(musl)

* update(libtool)

* update(isl)

* update(coreutils)

* update(wget)

* update(gmp)

* update(libiconv)

* update(stow)

* update(sed)

* update(gperf)

* update(libunistring)

* update(grep)

* update(patch)

* update(tar)

* update(autoconf)

* update(libgpg-error)

* update(automake)

* update(libksba)

* update(npth)

* update(libgcrypt)

* update(libidn)

* update(libassuan)

* update(gnupg)

* update(libtasn1)

* update(ncdu)

* update(freexl)

* update(nasm)

* update(ffmpeg)

* update(libsodium)

* update(mpg123)

* update(freetype)

* update(dnsmasq)

* update(postgres)

* update(xz)

* update(docutils)

* update(aom)

* update(libssh)

* update(gitlab-cli)

* update(watch)

* update(tree)

* update(c-ares)

* update(mpdecimal)

* update(lzo)

* update(graphviz)

* update(nano)

* update(yasm)

* update(expect)

* update(pcre)

* update(file)

* update(shared-mime-info)

* use `gitlab:` builtin
2023-05-01 13:14:59 -04:00

51 lines
No EOL
1.1 KiB
YAML

distributable:
url: https://github.com/vim/vim/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
# FIXME: so slow. 16k tags.
github: vim/vim/tags
provides:
- bin/vim
- bin/vi
dependencies:
python.org: '>=3.11'
lua.org: '>=5.4'
invisible-island.net/ncurses: '>=6.3'
perl.org: '>=5.36'
ruby-lang.org: '>=3.2'
build:
dependencies:
gnu.org/make: ^4.3
tea.xyz/gx/cc: ^0.1
script: |
./configure \
--prefix={{prefix}} \
--enable-multibyte \
--with-tlib=ncurses \
--with-compiledby=tea.xyz \
--enable-cscope \
--enable-terminal \
--enable-perlinterp \
--enable-rubyinterp \
--enable-python3interp \
--disable-gui \
--without-x \
--enable-luainterp
make
make install prefix={{prefix}}
cd {{prefix}}/bin
ln -s vim vi
test:
script: |
vim --version
vi --version
echo "hello world" >> ./test.txt
echo ":s/hello/test/" >> ./commands.vim
echo ":wq" >> ./commands.vim
touch $HOME/.exrc
vim -T dumb -S ./commands.vim ./test.txt
test "$(cat ./test.txt)" = "test world"