void-packages/srcpkgs/shfmt/template
2018-11-17 20:50:08 -02:00

18 lines
502 B
Bash

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