Files
termux-packages/packages/helm-ls/build.sh
termux-pacman-bot 447d783f0c bump(main/helm-ls): 0.0.20
This commit has been automatically submitted by Github Actions.
2024-07-22 12:46:55 +00:00

25 lines
808 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/mrjosh/helm-ls
TERMUX_PKG_DESCRIPTION="Language server for Helm"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.0.20"
TERMUX_PKG_SRCURL=https://github.com/mrjosh/helm-ls/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=1976d8f53c14c0467ef3be31ce425d291694ae8500c9d9bdbaf224b85c6f5d47
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true
termux_step_configure() {
termux_setup_golang
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
export GOLDFLAGS="-linkmode=external"
}
termux_step_make_install() {
install -Dm700 -t "${TERMUX_PREFIX}/bin" bin/helm_ls
}