void-packages/srcpkgs/shfmt/template

19 lines
502 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=2.6.3
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="maxice8 <thinkabit.ukim@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/mvdan/sh"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=12b4e79495f5bb091c19e601d8af5c06574e680a621d015dac9f6b8357ee901a
post_install() {
vlicense LICENSE
}