# Template file for 'staticcheck'
pkgname=staticcheck
version=2026.1
revision=1
build_style=go
go_import_path=honnef.co/go/tools
go_package="${go_import_path}/cmd/staticcheck
 ${go_import_path}/cmd/structlayout
 ${go_import_path}/cmd/structlayout-pretty
 ${go_import_path}/cmd/structlayout-optimize"
short_desc="Advanced Go linter"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="MIT"
homepage="https://staticcheck.dev/"
distfiles="https://github.com/dominikh/go-tools/archive/refs/tags/${version}.tar.gz"
checksum=4b20d65194e5462264c784f2968de65fcd7aba8e9efa37aa9b1fadc13b29699b

post_install() {
	vlicense LICENSE
	vlicense LICENSE-THIRD-PARTY
}
