23 lines
798 B
Bash
23 lines
798 B
Bash
# Template file for 'golangci-lint'
|
|
pkgname=golangci-lint
|
|
version=1.53.3
|
|
revision=2
|
|
build_style=go
|
|
go_import_path="github.com/golangci/golangci-lint"
|
|
go_package="./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="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://github.com/golangci/golangci-lint"
|
|
changelog="https://raw.githubusercontent.com/golangci/golangci-lint/master/CHANGELOG.md"
|
|
distfiles="https://github.com/golangci/golangci-lint/archive/v${version}.tar.gz"
|
|
checksum=a11540d116fa6b015423afc1bfe57c4b22ec3c3165189442cdb7ff8fda729370
|
|
|
|
# fix: collect2: fatal error: cannot find 'ld'
|
|
export LDFLAGS="-fuse-ld=bfd"
|
|
|
|
post_install() {
|
|
vdoc README.md
|
|
}
|