upgpkg: golangci-lint 1.27.0-1

This commit is contained in:
ml 2020-05-14 03:14:21 +02:00
parent 2be7b6399e
commit 3968694a14
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
pkgbase = golangci-lint pkgbase = golangci-lint
pkgdesc = Linters Runner for Go. 5x faster than gometalinter. pkgdesc = Linters Runner for Go. 5x faster than gometalinter.
pkgver = 1.26.0 pkgver = 1.27.0
pkgrel = 1 pkgrel = 1
url = https://github.com/golangci/golangci-lint url = https://github.com/golangci/golangci-lint
arch = x86_64 arch = x86_64
@ -13,8 +13,8 @@ pkgbase = golangci-lint
makedepends = go makedepends = go
makedepends = gzip makedepends = gzip
depends = glibc depends = glibc
source = golangci-lint-1.26.0.tar.gz::https://github.com/golangci/golangci-lint/archive/v1.26.0.tar.gz source = golangci-lint-1.27.0.tar.gz::https://github.com/golangci/golangci-lint/archive/v1.27.0.tar.gz
sha256sums = fac66b685253d76625c18177e03d36bca0a5dac52a0c3978fc96daad07bcb704 sha256sums = 11a23b60416cab57a7d83c97d723212ec3c430c4d9fdfc698e5f5276cd5ac15a
pkgname = golangci-lint pkgname = golangci-lint

View File

@ -1,7 +1,7 @@
# Maintainer: Matthias Lisin <ml@visu.li> # Maintainer: Matthias Lisin <ml@visu.li>
pkgname=golangci-lint pkgname=golangci-lint
pkgdesc="Linters Runner for Go. 5x faster than gometalinter." pkgdesc="Linters Runner for Go. 5x faster than gometalinter."
pkgver=1.26.0 pkgver=1.27.0
pkgrel=1 pkgrel=1
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h') arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
url='https://github.com/golangci/golangci-lint' url='https://github.com/golangci/golangci-lint'
@ -9,7 +9,7 @@ license=('GPL3')
depends=('glibc') depends=('glibc')
makedepends=('git' 'go' 'gzip') makedepends=('git' 'go' 'gzip')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golangci/golangci-lint/archive/v${pkgver}.tar.gz") source=("${pkgname}-${pkgver}.tar.gz::https://github.com/golangci/golangci-lint/archive/v${pkgver}.tar.gz")
sha256sums=('fac66b685253d76625c18177e03d36bca0a5dac52a0c3978fc96daad07bcb704') sha256sums=('11a23b60416cab57a7d83c97d723212ec3c430c4d9fdfc698e5f5276cd5ac15a')
prepare() { prepare() {
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
@ -40,7 +40,7 @@ check() {
# CGO_CFLAGS break tests when run inside ~/.cache (yay). # CGO_CFLAGS break tests when run inside ~/.cache (yay).
# TODO investigate # TODO investigate
unset CGO_CFLAGS unset CGO_CFLAGS
GOLANGCI_LINT_INSTALLED=true go test ./... GL_TEST_RUN=1 GOLANGCI_LINT_INSTALLED=true go test ./...
} }
package() { package() {