mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-13 13:21:03 +00:00
22 lines
638 B
Bash
22 lines
638 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="1:10.0.11"
|
|
TERMUX_PKG_SRCURL=https://github.com/schollz/croc/archive/refs/tags/v${TERMUX_PKG_VERSION:2}.tar.gz
|
|
TERMUX_PKG_SHA256=09b355bb412d9b5d1b2e0c30b866b9885fe6c4e88f65f6486d1f0233d591e07d
|
|
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
|
|
}
|