pantry/projects/lunarvim.org/package.yml
Jacob Heider a9d5789bc4 fix(lvim)
2023-06-28 16:43:46 -04:00

42 lines
No EOL
968 B
YAML

distributable:
url: https://github.com/LunarVim/LunarVim/archive/{{ version }}.tar.gz
strip-components: 1
versions:
github: LunarVim/LunarVim
dependencies:
gnu.org/bash: '*'
tea.xyz/gx/cc: c99
crates.io/fd-find: '*'
pip.pypa.io: '*'
nodejs.org: '*'
rust-lang.org/cargo: '*'
neovim.io: '*'
build:
dependencies:
tea.xyz/gx/make: '*'
cmake.org: '*'
gnu.org/bash: '*'
script:
- ./utils/installer/install.sh -y -l
- ./utils/installer/install_bin.sh
- ./utils/installer/install-neovim-from-release
- run: |
sed -i.bak "s_{{prefix}}_\$(cd \$(dirname \$0)/.. \&\& pwd)_g" lvim
rm lvim.bak
working-directory: ${{prefix}}/bin
env:
INSTALL_PREFIX: '{{ prefix }}'
LV_INSTALL_PREFIX: '{{ prefix }}'
XDG_DATA_HOME: '{{ prefix }}/share'
XDG_CACHE_HOME: '{{ prefix }}/.cache'
XDG_CONFIG_HOME: '{{ prefix }}/.config'
provides:
- bin/lvim
- bin/nvim
test:
lvim -v | grep "NVIM"