shfmt: update to 3.2.0, add man page.
This commit is contained in:
parent
410408ff9e
commit
32f2f11b38
1 changed files with 5 additions and 2 deletions
|
@ -1,18 +1,21 @@
|
||||||
# Template file for 'shfmt'
|
# Template file for 'shfmt'
|
||||||
pkgname=shfmt
|
pkgname=shfmt
|
||||||
version=3.1.2
|
version=3.2.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="sh-${version}"
|
wrksrc="sh-${version}"
|
||||||
build_style=go
|
build_style=go
|
||||||
go_import_path=mvdan.cc/sh
|
go_import_path=mvdan.cc/sh
|
||||||
go_package="${go_import_path}/cmd/shfmt"
|
go_package="${go_import_path}/cmd/shfmt"
|
||||||
|
hostmakedepends="scdoc"
|
||||||
short_desc="Shell parser and formatter"
|
short_desc="Shell parser and formatter"
|
||||||
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
|
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/mvdan/sh"
|
homepage="https://github.com/mvdan/sh"
|
||||||
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
|
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
|
||||||
checksum=133fcdb4645ee0c2893319b1ce5b83c88b8576c1e3936b1fa14b967df1501ee5
|
checksum=6755f587fcb6f037f819b96a322b0273d0ab6ecb5911c005b9aae74292c4a819
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1
|
||||||
|
vman shfmt.1
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue