mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
40 lines
848 B
YAML
40 lines
848 B
YAML
|
distributable:
|
||
|
url: https://github.com/neovim/neovim/archive/refs/tags/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: neovim/neovim/releases/tags
|
||
|
|
||
|
#FIXME neovim installs a lot of its own deps, but we should control them
|
||
|
# ourselves
|
||
|
|
||
|
dependencies:
|
||
|
gnu.org/gettext: ^0
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
cmake.org: '*'
|
||
|
tea.xyz/gx/make: '*'
|
||
|
tea.xyz/gx/cc: c99
|
||
|
freedesktop.org/pkg-config: ^0.29
|
||
|
gnu.org/libtool: ^2
|
||
|
git-scm.org: ^2
|
||
|
info-zip.org/unzip: '*'
|
||
|
|
||
|
script:
|
||
|
make
|
||
|
CMAKE_BUILD_TYPE=RelWithDebInfo
|
||
|
CMAKE_INSTALL_PREFIX="{{prefix}}"
|
||
|
install
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
echo "$FIXTURE vim!!" > fixture
|
||
|
nvim --headless -i NONE -u NONE '+s/vim/neovim/g' +wq fixture
|
||
|
test "Hello World from neovim!!" = "$(cat fixture) neovim!!"
|
||
|
env:
|
||
|
FIXTURE: "Hello World from "
|
||
|
|
||
|
provides:
|
||
|
- bin/nvim
|