termux-packages/packages/croc/build.sh
Termux Github Actions 04b551231c croc: update to 9.5.5
This commit has been automatically submitted by Github Actions.
2022-04-29 00:22:44 +00:00

22 lines
664 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/schollz/croc
TERMUX_PKG_DESCRIPTION="Easily and securely send things from one computer to another."
TERMUX_PKG_LICENSE=MIT
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="9.5.5"
TERMUX_PKG_SRCURL=https://github.com/schollz/croc/releases/download/v${TERMUX_PKG_VERSION}/croc_${TERMUX_PKG_VERSION}_src.tar.gz
TERMUX_PKG_SHA256=5993fc8103324bd583ca4c3a1df56574cca9252b600e2a5c0594e3952374182d
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
cd $TERMUX_PKG_SRCDIR
termux_setup_golang
go build -o croc -trimpath
}
termux_step_make_install() {
install -m755 croc $TERMUX_PREFIX/bin/croc
}