void-packages/srcpkgs/shfmt/template

19 lines
497 B
Bash

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