void-packages/srcpkgs/shfmt/template
2018-07-16 04:03:21 -03:00

18 lines
497 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=2.5.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-3-Clause"
homepage="https://github.com/mvdan/sh"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=15f19a648e8b58f7a41c8e64c1c3f0bb7c30672daf00bebc2d9f8b465edc07de
post_install() {
vlicense LICENSE
}