mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-16 07:43:14 +00:00
22 lines
663 B
Bash
22 lines
663 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.6.1"
|
|
TERMUX_PKG_SRCURL=https://github.com/schollz/croc/releases/download/v${TERMUX_PKG_VERSION}/croc_${TERMUX_PKG_VERSION}_src.tar.gz
|
|
TERMUX_PKG_SHA256=16c0e2b2605463fc1066dc0c31cfede690396740705205fc380f05e03fb3d785
|
|
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
|
|
}
|