diff --git a/srcpkgs/staticcheck/template b/srcpkgs/staticcheck/template new file mode 100644 index 00000000000..3a5cd43a370 --- /dev/null +++ b/srcpkgs/staticcheck/template @@ -0,0 +1,21 @@ +# Template file for 'staticcheck' +pkgname=staticcheck +version=2025.1.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 " +license="MIT" +homepage="https://staticcheck.dev/" +distfiles="https://github.com/dominikh/go-tools/archive/refs/tags/${version}.tar.gz" +checksum=259aaf528e4d98e7d3652e283e8551cfdb98cd033a7c01003cd377c2444dd6de + +post_install() { + vlicense LICENSE + vlicense LICENSE-THIRD-PARTY +}