File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,19 @@ TERMUX_PKG_HOMEPAGE=https://github.com/tree-sitter-grammars/tree-sitter-lua
2
2
TERMUX_PKG_DESCRIPTION=" Lua grammar for tree-sitter"
3
3
TERMUX_PKG_LICENSE=" MIT"
4
4
TERMUX_PKG_MAINTAINER=" Joshua Kahn @TomJo2000"
5
- TERMUX_PKG_VERSION=" 0.3.0"
6
- TERMUX_PKG_REVISION=1
5
+ TERMUX_PKG_VERSION=" 0.4.0"
7
6
TERMUX_PKG_SRCURL=https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/refs/tags/v${TERMUX_PKG_VERSION} .tar.gz
8
- TERMUX_PKG_SHA256=a34cc70abfd8d2d4b0fabf01403ea05f848e1a4bc37d8a4bfea7164657b35d31
7
+ TERMUX_PKG_SHA256=b0977aced4a63bb75f26725787e047b8f5f4a092712c840ea7070765d4049559
9
8
TERMUX_PKG_AUTO_UPDATE=true
10
9
TERMUX_PKG_UPDATE_TAG_TYPE=' newest-tag'
11
10
TERMUX_PKG_BUILD_IN_SRC=true
12
11
12
+ termux_step_pre_configure () {
13
+ if [[ " ${TERMUX_ON_DEVICE_BUILD} " != " true" ]]; then
14
+ export PATH=" $TERMUX_PREFIX " /opt/tree-sitter/cross/bin:$PATH
15
+ fi
16
+ }
17
+
13
18
termux_step_post_make_install () {
14
19
install -d " ${TERMUX_PREFIX} " /lib/tree_sitter
15
20
ln -sf " ${TERMUX_PREFIX} " /lib/libtree-sitter-lua.so " ${TERMUX_PREFIX} " /lib/tree_sitter/lua.so
You can’t perform that action at this time.
0 commit comments