void-packages/srcpkgs/shfmt/template

19 lines
498 B
Bash

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