void-packages/srcpkgs/golangci-lint/template
2021-01-31 00:23:32 -03:00

20 lines
700 B
Bash

# Template file for 'golangci-lint'
pkgname=golangci-lint
version=1.36.0
revision=1
build_style=go
go_import_path=github.com/golangci/golangci-lint/cmd/golangci-lint
go_ldflags="-X main.version=${version} -X main.date=${SOURCE_DATE_EPOCH} -X main.commit=v${version}"
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=3476288341b2c6e2b5a426334ec982769a9ea5341e0336198fd33c7250b4928b
# fix: collect2: fatal error: cannot find 'ld'
export LDFLAGS="-fuse-ld=bfd"
post_install() {
vdoc README.md
}