void-packages/srcpkgs/shfmt/template

19 lines
490 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=2.2.1
revision=2
build_style=go
go_import_path="mvdan.cc/sh"
go_package="${go_import_path}/cmd/shfmt"
wrksrc="sh-${version}"
short_desc="Shell parser and formatter"
maintainer="Michael Gehring <mg@ebfe.org>"
license="BSD"
homepage="https://github.com/mvdan/sh"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=b327873c13a3d27b5b8ca132997c55da03851b5872cc187aa1d7a10c3886312c
post_install() {
vlicense LICENSE
}