shfmt: update to 3.12.0.

This commit is contained in:
Daniel Lewan 2025-07-07 20:22:59 +02:00 committed by Duncan Overbruck
parent ecbbc16c21
commit 0058391cfd

View file

@ -1,11 +1,12 @@
# Template file for 'shfmt' # Template file for 'shfmt'
pkgname=shfmt pkgname=shfmt
version=3.11.0 version=3.12.0
revision=1 revision=1
build_style=go build_style=go
go_import_path=mvdan.cc/sh/v3 go_import_path=mvdan.cc/sh/v3
go_package="${go_import_path}/cmd/shfmt" go_package="${go_import_path}/cmd/shfmt"
go_ldflags="-X main.version=${version}" go_ldflags="-X main.version=${version}"
make_check_args='-skip "^TestRunnerTerminal.*$"'
hostmakedepends="scdoc" hostmakedepends="scdoc"
short_desc="Shell parser and formatter" short_desc="Shell parser and formatter"
maintainer="Daniel Lewan <daniel@teddydd.me>" maintainer="Daniel Lewan <daniel@teddydd.me>"
@ -13,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://github.com/mvdan/sh" homepage="https://github.com/mvdan/sh"
changelog="https://raw.githubusercontent.com/mvdan/sh/master/CHANGELOG.md" changelog="https://raw.githubusercontent.com/mvdan/sh/master/CHANGELOG.md"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz" distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=69aebb0dd4bf5e62842c186ad38b76f6ec2e781188cd71cea33cb4e729086e94 checksum=ac15f42feeba55af29bd07698a881deebed1cd07e937effe140d9300e79d5ceb
post_install() { post_install() {
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1 scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1