termux-packages/packages/croc/build.sh
Suhan G Paradkar 3dc78812f1
Updates to a few packages (#6850)
* Update apt

* Update bat

* Update caddy

* Update clash

* Update croc

* Update dar

* Update exiftool

* Update ffsend

* Update delve

* Update imagemagick

* Update libxml2

* Update micro

* Update mime-support

* Update notmuch
2021-05-25 07:39:23 +05:30

21 lines
634 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.1.4
TERMUX_PKG_SRCURL=https://github.com/schollz/croc/releases/download/v${TERMUX_PKG_VERSION}/croc_${TERMUX_PKG_VERSION}_src.tar.gz
TERMUX_PKG_SHA256=a65f5004106858a74ec3834e232cff9a16728582700afff58c244c806438cc88
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
}