0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-14 10:13:09 +00:00
Files
termux-packages/packages/rush/build.sh
Termux Github Actions 0f114baff8 bump(main/rush): 0.6.0
This commit has been automatically submitted by Github Actions.
2024-11-12 12:14:00 +00:00

24 lines
835 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/shenwei356/rush
TERMUX_PKG_DESCRIPTION="A cross-platform command-line tool for executing jobs in parallel"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Krishna kanhaiya @kcubeterm"
TERMUX_PKG_VERSION="0.6.0"
TERMUX_PKG_SRCURL=https://github.com/shenwei356/rush/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=58f1998c7d03daa30aea7a29c57893c87399d1d722dc5d2349ad3b4f7dc599bc
TERMUX_PKG_AUTO_UPDATE=true
termux_step_make_install() {
termux_setup_golang
cd "$TERMUX_PKG_SRCDIR"
export GOPATH="${TERMUX_PKG_BUILDDIR}"
mkdir -p "${GOPATH}/src/github.com/shenwei356"
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/shenwei356/rush"
cd "${GOPATH}/src/github.com/shenwei356/rush"
go get -d -v
go install
install -Dm700 $TERMUX_PKG_BUILDDIR/bin/*/rush $TERMUX_PREFIX/bin/
}