Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions srcpkgs/golangci-lint/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'golangci-lint'
pkgname=golangci-lint
version=1.61.0
version=1.63.4
revision=1
build_style=go
go_import_path="github.com/golangci/golangci-lint"
Expand All @@ -12,11 +12,17 @@ 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=f4efcc09dde3eb81ba7e2fc4230d3e99375a4b176dd28c31cab07371cf5c07db
checksum=4424d5e3437fdb723e912c3f4636a69d45155124568132d4440cde9a24be6dac

# fix: collect2: fatal error: cannot find 'ld'
export LDFLAGS="-fuse-ld=bfd"

# Workaround for go>=1.19 compilation error on i686
# runtime/cgo(.text): unknown symbol __stack_chk_fail_local in pcrel
if [ "$XBPS_MACHINE" = i686 ]; then
export CGO_CFLAGS="-fno-stack-protector"
fi

post_install() {
vdoc README.md
}
Loading