void-packages/srcpkgs/shfmt/template
Daniel Lewan 01086bcb52 shfmt: update to 3.3.1.
Closes: #32290 [via git-merge-pr]
2021-08-01 19:36:56 -04:00

21 lines
591 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=3.3.1
revision=1
wrksrc="sh-${version}"
build_style=go
go_import_path=mvdan.cc/sh/v3
go_package="${go_import_path}/cmd/shfmt"
hostmakedepends="scdoc"
short_desc="Shell parser and formatter"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/mvdan/sh"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=c3acf5503e42f481ff3ec133007f85438a2df378981446456937a56dde758a52
post_install() {
scdoc < cmd/shfmt/shfmt.1.scd > shfmt.1
vman shfmt.1
vlicense LICENSE
}