Skip to content

Commit

Permalink
jq-lsp: init at 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu authored and TomJo2000 committed May 30, 2024
1 parent 21e7ebc commit aa5e061
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions packages/jq-lsp/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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.3"
TERMUX_PKG_SRCURL=$TERMUX_PKG_HOMEPAGE/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=f4cea9a9069f2b9af9265d623b9fdbdcdd3e0fc5aebb78007384919f378881f3
TERMUX_PKG_AUTO_UPDATE=true
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
}

0 comments on commit aa5e061

Please sign in to comment.