0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
Termux Github Actions d6d655b71e bump(main/cloudflared): 2024.11.1
This commit has been automatically submitted by Github Actions.
2024-11-19 18:11:15 +00:00

22 lines
802 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/cloudflare/cloudflared
TERMUX_PKG_DESCRIPTION="A tunneling daemon that proxies traffic from the Cloudflare network to your origins"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="2024.11.1"
TERMUX_PKG_SRCURL=https://github.com/cloudflare/cloudflared/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=1bf729c225701f6864b31bb6c251293caa06f9f1a6e671f3326dd20c3c9719ff
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
termux_setup_golang
local _DATE=$(date -u '+%Y.%m.%d-%H:%M UTC')
go build -v -ldflags "-X \"main.Version=$TERMUX_PKG_VERSION\" -X \"main.BuildTime=$_DATE\"" \
./cmd/cloudflared
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin cloudflared
}