mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
New package: cloudflared-2022.7.1
This commit is contained in:
parent
319985cc17
commit
51f0e7d4ab
1 changed files with 19 additions and 0 deletions
19
srcpkgs/cloudflared/template
Normal file
19
srcpkgs/cloudflared/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'cloudflared'
|
||||
pkgname=cloudflared
|
||||
version=2022.7.1
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path=github.com/cloudflare/cloudflared
|
||||
go_package="${go_import_path}/cmd/cloudflared"
|
||||
go_ldflags="-X \"main.Version=${version}\""
|
||||
short_desc="Cloudflare Tunnel client"
|
||||
maintainer="Elie ROUDNINSKI <xademax@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://developers.cloudflare.com/argo-tunnel/"
|
||||
changelog="https://raw.githubusercontent.com/cloudflare/cloudflared/master/CHANGES.md"
|
||||
distfiles="https://github.com/cloudflare/cloudflared/archive/${version}.tar.gz"
|
||||
checksum=3a822faaed7ae90be5ba4920f9226cd85367402d2c5a2bf2f0732c37cad6599d
|
||||
|
||||
pre_build() {
|
||||
go_ldflags+=" -X \"main.BuildTime=$(date -u '+%Y-%m-%d-%H:%M UTC')\""
|
||||
}
|
Loading…
Add table
Reference in a new issue