void-packages/srcpkgs/shfmt/template

19 lines
509 B
Bash

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