termux-packages/packages/croc/build.sh
Leonid Pliushch c44ca2c1a0 croc: update to 8.6.6
Update the package and test whether new CI tasks added in
1661d89b2a7f13812a3b0daf9932554996b5a6f5 work correctly...
2020-11-21 21:16:29 +02:00

20 lines
602 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_VERSION=8.6.6
TERMUX_PKG_SRCURL=https://github.com/schollz/croc/releases/download/v${TERMUX_PKG_VERSION}/croc_${TERMUX_PKG_VERSION}_src.tar.gz
TERMUX_PKG_SHA256=739a5efb389373e32b10dfd234b60f651f8cb861dff8667b32d5677d4c9856ed
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
}