shfmt: update to 3.4.2.

This commit is contained in:
Daniel Lewan 2021-12-24 13:53:26 +01:00 committed by Érico Nogueira Rolim
parent 1ab6abe43b
commit d0d96067fc

View file

@ -1,11 +1,12 @@
# Template file for 'shfmt'
pkgname=shfmt
version=3.4.1
version=3.4.2
revision=1
wrksrc="sh-${version}"
build_style=go
go_import_path=mvdan.cc/sh/v3
go_package="${go_import_path}/cmd/shfmt"
go_ldflags="-X main.version=${version}"
hostmakedepends="scdoc"
short_desc="Shell parser and formatter"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
@ -13,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://github.com/mvdan/sh"
changelog="https://raw.githubusercontent.com/mvdan/sh/master/CHANGELOG.md"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=a9e7a09dd0b099b8699b54af0e5911c19412dc7cea206e32377d974427688be1
checksum=2000656613bc4165fb1d419bedec08fcb23a625274f4505e303d18b204d8f5ee
post_install() {
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1