2023-06-12 17:25:53 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/LunarVim/LunarVim/archive/{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: LunarVim/LunarVim
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
gnu.org/bash: '*'
|
|
|
|
crates.io/fd-find: '*'
|
|
|
|
pip.pypa.io: '*'
|
2024-05-15 17:07:35 +03:00
|
|
|
python.org: ^3
|
2023-06-12 17:25:53 +03:00
|
|
|
nodejs.org: '*'
|
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
neovim.io: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
cmake.org: '*'
|
|
|
|
gnu.org/bash: '*'
|
2023-06-28 23:03:44 +03:00
|
|
|
script:
|
|
|
|
- ./utils/installer/install.sh -y -l
|
|
|
|
- ./utils/installer/install_bin.sh
|
|
|
|
- ./utils/installer/install-neovim-from-release
|
2023-06-30 06:25:26 +03:00
|
|
|
|
|
|
|
# {{prefix}}/share/lunarvim/lvim is a symlink to $SRCROOT
|
|
|
|
- run: |
|
|
|
|
rm lvim
|
|
|
|
mkdir lvim
|
|
|
|
cp -a "$SRCROOT"/* lvim/
|
|
|
|
working-directory: ${{prefix}}/share/lunarvim
|
2023-06-28 23:03:44 +03:00
|
|
|
- run: |
|
|
|
|
sed -i.bak "s_{{prefix}}_\$(cd \$(dirname \$0)/.. \&\& pwd)_g" lvim
|
|
|
|
rm lvim.bak
|
|
|
|
working-directory: ${{prefix}}/bin
|
2023-06-12 17:25:53 +03:00
|
|
|
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
|
|
|
|
|
2024-05-15 17:07:35 +03:00
|
|
|
test: lvim -v | grep "NVIM"
|