void-packages/srcpkgs/shfmt/template

19 lines
498 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=0.5.0
revision=1
build_style=go
go_import_path="github.com/mvdan/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=7718092b0a97718e4bdb47bda1f59859733ed7db0fe57aa1690a35cce9da3522
post_install() {
vlicense LICENSE
}