mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-31 21:22:27 +00:00
e451a6e9b6
This commit has been automatically submitted by Github Actions.
27 lines
664 B
Bash
27 lines
664 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/wader/jq-lsp
|
|
TERMUX_PKG_DESCRIPTION="jq language server"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.1.11"
|
|
TERMUX_PKG_SRCURL=$TERMUX_PKG_HOMEPAGE/archive/v$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=6e85f4e207c93111d9d0af478cf90e3f4825b8bccdadbb2d004fff2738ebdfd6
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE=newest-tag
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_make() {
|
|
termux_setup_golang
|
|
|
|
export GOPATH=$TERMUX_PKG_BUILDDIR
|
|
|
|
cd $TERMUX_PKG_SRCDIR
|
|
|
|
go build -o jq-lsp
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
cd $TERMUX_PKG_SRCDIR
|
|
|
|
install -Dm700 -t $TERMUX_PREFIX/bin ./jq-lsp
|
|
}
|