From c4313a0ae9ddcaa990d18b3187304f1b70c352bd Mon Sep 17 00:00:00 2001 From: ml <> Date: Fri, 14 May 2021 16:18:45 +0200 Subject: [PATCH] updpkg: golangci-lint 1.40.1-1 --- .SRCINFO | 6 +++--- PKGBUILD | 15 +++------------ 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 20a2ffe..6fbe09f 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = golangci-lint pkgdesc = Linters Runner for Go. 5x faster than gometalinter. - pkgver = 1.40.0 + pkgver = 1.40.1 pkgrel = 1 url = https://github.com/golangci/golangci-lint arch = x86_64 @@ -12,8 +12,8 @@ pkgbase = golangci-lint makedepends = git makedepends = go depends = glibc - source = https://github.com/golangci/golangci-lint/archive/v1.40.0/golangci-lint-1.40.0.tar.gz - sha256sums = 15454b587e6836325e9446ed2799bde39ae766aeae24efe362f661a3e85c84ec + source = https://github.com/golangci/golangci-lint/archive/v1.40.1/golangci-lint-1.40.1.tar.gz + sha256sums = e399d085319d7d2ef1f2db3f5d854101585ad652fbf22286e892bdc57a87c2a1 pkgname = golangci-lint diff --git a/PKGBUILD b/PKGBUILD index 82eab99..e769c94 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: ml pkgname=golangci-lint pkgdesc="Linters Runner for Go. 5x faster than gometalinter." -pkgver=1.40.0 +pkgver=1.40.1 pkgrel=1 arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h') url='https://github.com/golangci/golangci-lint' @@ -9,7 +9,7 @@ license=('GPL3') depends=('glibc') makedepends=('git' 'go') source=("https://github.com/golangci/golangci-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('15454b587e6836325e9446ed2799bde39ae766aeae24efe362f661a3e85c84ec') +sha256sums=('e399d085319d7d2ef1f2db3f5d854101585ad652fbf22286e892bdc57a87c2a1') build() { local _commit _flags @@ -30,16 +30,7 @@ build() { go build -o "$pkgname" -ldflags="${_flags[*]}" ./cmd/"$pkgname" } -# breaks for yay users -#check() { -# cd "${pkgname}-${pkgver}" -# # some tests build the binary and overwrite our build -# chmod 555 "$pkgname" # canary -# # CGO_CFLAGS break tests when run inside ~/.cache (yay). -# # TODO investigate -# unset CGO_CFLAGS CGO -# GL_TEST_RUN=1 GOLANGCI_LINT_INSTALLED=true go test ./... -#} +# @TODO check() package() { cd "${pkgname}-${pkgver}"