scaleway-cli: update to 2.41.0

This commit is contained in:
Sébastien Pondichy 2025-06-27 11:29:15 +02:00 committed by Duncan Overbruck
parent 2ce6b36f42
commit 537039d286

View file

@ -1,21 +1,28 @@
# Template file for 'scaleway-cli'
pkgname=scaleway-cli
version=2.34.0
version=2.41.0
revision=1
build_style=go
go_import_path=github.com/scaleway/scaleway-cli/v2
go_package=github.com/scaleway/scaleway-cli/v2/cmd/scw
go_ldflags="-X main.Version=$version"
go_ldflags="-X main.Version=${version} -X main.GitBranch=${version} -X main.GitCommit=${version}"
short_desc="Interact with the Scaleway API from the command line"
maintainer="Sébastien Pondichy <sebastien.pondichy@gmail.com>"
license="MIT"
homepage="https://github.com/scaleway/scaleway-cli"
distfiles="https://github.com/scaleway/scaleway-cli/archive/v${version}.tar.gz"
checksum=ed2c62cffa0a68a4ed973a405eb190e42eb5a1aa3d021ad3729b1301f5646d70
# Skip tests as they fail if SHELL=/bin/sh
checksum=ba056eacd5a012a55789421d0d7579ee002ae298ca9a04a1d9a88eefb0d13ae7
# Tests fail when run on i686
make_check="no"
pre_build() {
local _date
if [ "$SOURCE_DATE_EPOCH" ]; then
_date="$(date --utc --date "@SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
go_ldflags+=" -X main.BuildDate=${_date}"
fi
}
post_install() {
vdoc README.md README
vlicense LICENSE