void-packages/srcpkgs/golangci-lint/template
2020-01-25 09:05:13 +01:00

19 lines
584 B
Bash

# Template file for 'golangci-lint'
pkgname=golangci-lint
version=1.23.1
revision=1
build_style=go
go_import_path=github.com/golangci/golangci-lint/cmd/golangci-lint
short_desc="Linters Runner for Go"
maintainer="Renato Aguiar <renato@renatoaguiar.net>"
license="GPL-3.0-only"
homepage="https://github.com/golangci/golangci-lint"
distfiles="https://github.com/golangci/golangci-lint/archive/v${version}.tar.gz"
checksum=88288446eec89d41cff854b9f6712581b52af03c97327d6218bb9125f3267134
# Cross builds fail with -fuse-ld=gold
LDFLAGS="-fuse-ld=bfd"
post_install() {
vdoc README.md
}