Skip to content

Commit 32f2f11

Browse files
mobinmobahesford
authored andcommitted
shfmt: update to 3.2.0, add man page.
1 parent 410408f commit 32f2f11

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

srcpkgs/shfmt/template

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
# Template file for 'shfmt'
22
pkgname=shfmt
3-
version=3.1.2
3+
version=3.2.0
44
revision=1
55
wrksrc="sh-${version}"
66
build_style=go
77
go_import_path=mvdan.cc/sh
88
go_package="${go_import_path}/cmd/shfmt"
9+
hostmakedepends="scdoc"
910
short_desc="Shell parser and formatter"
1011
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
1112
license="BSD-3-Clause"
1213
homepage="https://github.com/mvdan/sh"
1314
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
14-
checksum=133fcdb4645ee0c2893319b1ce5b83c88b8576c1e3936b1fa14b967df1501ee5
15+
checksum=6755f587fcb6f037f819b96a322b0273d0ab6ecb5911c005b9aae74292c4a819
1516

1617
post_install() {
18+
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1
19+
vman shfmt.1
1720
vlicense LICENSE
1821
}

0 commit comments

Comments
 (0)