Skip to content

Commit d0d9606

Browse files
TeddyDDericonr
authored andcommitted
shfmt: update to 3.4.2.
1 parent 1ab6abe commit d0d9606

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

srcpkgs/shfmt/template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
# Template file for 'shfmt'
22
pkgname=shfmt
3-
version=3.4.1
3+
version=3.4.2
44
revision=1
55
wrksrc="sh-${version}"
66
build_style=go
77
go_import_path=mvdan.cc/sh/v3
88
go_package="${go_import_path}/cmd/shfmt"
9+
go_ldflags="-X main.version=${version}"
910
hostmakedepends="scdoc"
1011
short_desc="Shell parser and formatter"
1112
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
1213
license="BSD-3-Clause"
1314
homepage="https://github.com/mvdan/sh"
1415
changelog="https://raw.githubusercontent.com/mvdan/sh/master/CHANGELOG.md"
1516
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
16-
checksum=a9e7a09dd0b099b8699b54af0e5911c19412dc7cea206e32377d974427688be1
17+
checksum=2000656613bc4165fb1d419bedec08fcb23a625274f4505e303d18b204d8f5ee
1718

1819
post_install() {
1920
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1

0 commit comments

Comments
 (0)