void-packages/srcpkgs/golangci-lint/template
Renato Aguiar 87d879f5ed golangci-lint: update to 1.29.0
Closes: #23417 [via git-merge-pr]
2020-10-03 16:46:40 -07:00

21 lines
714 B
Bash

# Template file for 'golangci-lint'
pkgname=golangci-lint
version=1.29.0
revision=1
build_style=go
go_import_path=github.com/golangci/golangci-lint/cmd/golangci-lint
_date="$(date --utc --iso-8601=seconds)"
go_ldflags="-X main.version=${version} -X main.date=${_date} -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=1e92c8ff425fe89e1678d576df24f1d1302f613d81c710da890c6aa057171190
# Cross builds fail with -fuse-ld=gold
LDFLAGS="-fuse-ld=bfd"
post_install() {
vdoc README.md
}