21 lines
714 B
Bash
21 lines
714 B
Bash
# Template file for 'golangci-lint'
|
|
pkgname=golangci-lint
|
|
version=1.23.6
|
|
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=ef6c0d13cee0a9b92476cf233c6b47f432277d38fea34023cf12d4942ece7bb8
|
|
|
|
# Cross builds fail with -fuse-ld=gold
|
|
LDFLAGS="-fuse-ld=bfd"
|
|
|
|
post_install() {
|
|
vdoc README.md
|
|
}
|