void-packages/srcpkgs/shfmt/template
2018-05-03 20:26:06 +00:00

18 lines
490 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=2.3.0
revision=3
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=7fac5b1d054f39f68440b19752321a59f41085b767311bd978cdcb107730ff8e
post_install() {
vlicense LICENSE
}