mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
fcabda9c4e
This commit has been automatically submitted by Github Actions.
25 lines
645 B
Bash
25 lines
645 B
Bash
TERMUX_PKG_HOMEPAGE=https://esbuild.github.io/
|
|
TERMUX_PKG_DESCRIPTION="An extremely fast JavaScript bundler"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="0.24.0"
|
|
TERMUX_PKG_SRCURL=https://github.com/evanw/esbuild/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=db289a2d668e42f81b93d7489c27ef665e86ef4e5c4974997526d46982f2b68a
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_golang
|
|
|
|
go mod init || :
|
|
go mod tidy
|
|
}
|
|
|
|
termux_step_make() {
|
|
go build ./cmd/esbuild
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
install -Dm700 -t $TERMUX_PREFIX/bin esbuild
|
|
}
|