Skip to content

Commit

Permalink
add(main): new package esbuild
Browse files Browse the repository at this point in the history
Signed-off-by: 2096779623 <admin@utermux.dev>
  • Loading branch information
2096779623 committed Sep 12, 2022
1 parent 5346501 commit 564c37d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/esbuild/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
TERMUX_PKG_HOMEPAGE=https://esbuild.github.io/
TERMUX_PKG_DESCRIPTION="An extremely fast JavaScript and CSS bundler and minifier"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.15.7"
TERMUX_PKG_SRCURL=https://github.com/evanw/esbuild/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=cc56a28b161c4976ed891abdcded5bced9c1df87b2222706efe0c2f68428c293
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_AUTO_UPDATE=true

termux_step_pre_configure() {
termux_setup_golang
termux_setup_nodejs
}

termux_step_make_install() {
install -Dm755 -t "${TERMUX_PREFIX}"/bin esbuild
}

0 comments on commit 564c37d

Please sign in to comment.