mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 00:10:52 +00:00
24 lines
865 B
Bash
24 lines
865 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/neovim/tree-sitter-vimdoc
|
|
TERMUX_PKG_DESCRIPTION="Tree-sitter parser for Vim help files"
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="3.0.0"
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=https://github.com/neovim/tree-sitter-vimdoc/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=a639bf92bf57bfa1cdc90ca16af27bfaf26a9779064776dd4be34c1ef1453f6c
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE='newest-tag'
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_EXTRA_MAKE_ARGS="
|
|
PARSER_URL=https://github.com/neovim/tree-sitter-vimdoc
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
rm setup.py pyproject.toml
|
|
}
|
|
|
|
termux_step_post_make_install() {
|
|
install -d "${TERMUX_PREFIX}"/lib/tree_sitter
|
|
ln -sf "${TERMUX_PREFIX}"/lib/libtree-sitter-vimdoc.so "${TERMUX_PREFIX}"/lib/tree_sitter/vimdoc.so
|
|
}
|