void-packages/srcpkgs/shfmt/template
2020-04-11 05:30:31 +02:00

18 lines
509 B
Bash

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