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-09-17 03:47:12 +02:00
|
|
|
TERMUX_PKG_VERSION=8.3.2
|
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
|
2020-09-17 03:47:12 +02:00
|
|
|
TERMUX_PKG_SHA256=6a7e2267fab4ae79eb241ef5d98f2cd8fa3d2fe6715550749b31f10fdffd64ae
|
2020-09-06 23:46:44 +02:00
|
|
|
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
|
|
|
|
}
|