void-packages/srcpkgs/shfmt/template

19 lines
498 B
Bash

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