void-packages/srcpkgs/shfmt/template
2017-11-25 19:19:59 +01:00

19 lines
490 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=2.1.0
revision=1
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=2f39dc1d34e87190b659ed677a83e32f9ef769cd8adb34f8c4ccf0a9091b109f
post_install() {
vlicense LICENSE
}