void-packages/srcpkgs/shfmt/template
2020-01-13 09:31:39 +01:00

18 lines
509 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=3.0.1
revision=1
wrksrc="sh-${version}"
build_style=go
go_import_path=mvdan.cc/sh
go_package="${go_import_path}/cmd/shfmt"
short_desc="Shell parser and formatter"
maintainer="Daniel Lewan <vision360.daniel@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/mvdan/sh"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=4cca3d8a40e5132a4764a3bf7bcf335288ebff8a4a74e130f9359605e6f07544
post_install() {
vlicense LICENSE
}