void-packages/srcpkgs/shfmt/template

19 lines
499 B
Bash

# Template file for 'shfmt'
pkgname=shfmt
version=2.6.4
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="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/mvdan/sh"
distfiles="https://github.com/mvdan/sh/archive/v${version}.tar.gz"
checksum=72c8e5833e61a31a4595bbd8a77bfb0a8ade9c60603638be70ea801e309d39fe
post_install() {
vlicense LICENSE
}