2020-09-06 23:46:44 +02:00
|
|
|
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
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-08-17 02:13:47 +02:00
|
|
|
TERMUX_PKG_VERSION=9.3.0
|
2020-09-06 23:46:44 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/schollz/croc/releases/download/v${TERMUX_PKG_VERSION}/croc_${TERMUX_PKG_VERSION}_src.tar.gz
|
2021-08-17 02:13:47 +02:00
|
|
|
TERMUX_PKG_SHA256=aa4cbb9e3dac804ffb5c23b3a3dd23853a1476b315f7e550467956fa4cdcec3a
|
2020-09-06 23:46:44 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
|
|
|
termux_step_make() {
|
|
|
|
cd $TERMUX_PKG_SRCDIR
|
|
|
|
|
|
|
|
termux_setup_golang
|
2021-07-10 16:00:18 +02:00
|
|
|
|
2020-09-06 23:46:44 +02:00
|
|
|
go build -o croc -trimpath
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_make_install() {
|
|
|
|
install -m755 croc $TERMUX_PREFIX/bin/croc
|
|
|
|
}
|