Files
termux-pacman-bot 982b90a0cc chore(tree-wide): update my maintainer lines to Git format
and sync my section of the CODEOWNERS file

%ci:no-build
2026-02-07 15:42:39 +00:00

27 lines
846 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/tree-sitter-grammars/tree-sitter-lua
TERMUX_PKG_DESCRIPTION="Lua grammar for tree-sitter"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Joshua Kahn <tom@termux.dev>"
TERMUX_PKG_VERSION="0.4.1"
TERMUX_PKG_SRCURL=https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=cef44b8773bde69d427b5e50ca95e417c86c0be91caa37a6782c90d6f529da70
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE='newest-tag'
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DCMAKE_INSTALL_LIBDIR=$TERMUX__PREFIX__LIB_SUBDIR
-DCMAKE_INSTALL_INCLUDEDIR=$TERMUX__PREFIX__INCLUDE_SUBDIR
"
termux_step_configure() {
termux_setup_treesitter
}
termux_step_make() {
termux-tree-sitter build
}
termux_step_make_install() {
termux-tree-sitter install
}