mirror of
https://github.com/termux/termux-packages.git
synced 2025-02-23 01:07:10 +00:00
20 lines
838 B
Bash
20 lines
838 B
Bash
TERMUX_PKG_HOMEPAGE=https://neocmakelsp.github.io/
|
|
TERMUX_PKG_DESCRIPTION="a cmake lsp based on tower-lsp and treesitter"
|
|
TERMUX_PKG_LICENSE=MIT
|
|
TERMUX_PKG_MAINTAINER=@termux
|
|
TERMUX_PKG_VERSION="0.8.19"
|
|
TERMUX_PKG_SRCURL=https://github.com/neocmakelsp/neocmakelsp/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=e63cf9a59f818c61196ae41136c164d62fe1fe42116c7dd51bee0f9df2ce55ac
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
|
|
termux_step_pre_configure() {
|
|
rm -f meson.build
|
|
}
|
|
|
|
termux_step_post_make_install() {
|
|
install -Dm600 -t "${TERMUX_PREFIX}/share/bash-completion/completions" completions/bash/neocmakelsp
|
|
install -Dm600 -t "${TERMUX_PREFIX}/share/fish/vendor_completions.d" completions/fish/neocmakelsp.fish
|
|
install -Dm600 -t "${TERMUX_PREFIX}/share/zsh/site-functions" completions/zsh/_neocmakelsp
|
|
}
|