fix: PKGBUILD

This commit is contained in:
Fernandez Ludovic
2025-01-02 14:20:56 +01:00
parent 548802ae22
commit b1402524ee
2 changed files with 8 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
pkgname='golangci-lint'
pkgver=1.63.2
pkgrel=1
pkgrel=2
pkgdesc='Fast linters runner for Go.'
url='https://golangci.com'
arch=('aarch64' 'x86_64')
@@ -12,7 +12,9 @@ provides=('golangci-lint')
conflicts=('golangci-lint')
makedepends=('go' 'git')
source=("${pkgname}_${pkgver}.tar.gz::https://github.com/golangci/golangci-lint/releases/download/v1.63.2/golangci-lint-1.63.2-source.tar.gz")
sha256sums=('5ce97bd853e1746e5d7270bf398da7e89d2ee3d3d77f5c944113b25a45435879')build() {
sha256sums=('5ce97bd853e1746e5d7270bf398da7e89d2ee3d3d77f5c944113b25a45435879')
build() {
local _commit _flags
_commit=$(bsdcat "${pkgname}_${pkgver}.tar.gz" | git get-tar-commit-id)
_flags=(