summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatthias Lisin2022-06-15 19:55:46 +0200
committerMatthias Lisin2022-06-15 19:55:46 +0200
commitec6343b39af42bfe2bca2a0efa81c4a840623ae4 (patch)
treee66eeaa0a99ea38f009200a3d7525dffadaa64c7 /PKGBUILD
parent9119e319e6e7e1660681f44ff0e5116b4ef50953 (diff)
downloadaur-ec6343b39af42bfe2bca2a0efa81c4a840623ae4.tar.gz
upgpkg: golang-mockery 2.13.1-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8f190102d52..609d15cb3e2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: ml <>
pkgname=golang-mockery
pkgver=2.13.1
-pkgrel=1
+pkgrel=2
pkgdesc='A mock code autogenerator for golang'
arch=('x86_64')
url='https://github.com/vektra/mockery'
@@ -19,7 +19,7 @@ build() {
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
export GOFLAGS='-buildmode=pie -modcacherw -trimpath'
- go build -o mockery -ldflags "-linkmode=external -X github.com/vektra/mockery/v2/pkg/config.SemVer=$pkgver" main.go
+ go build -o mockery -ldflags "-linkmode=external -X github.com/vektra/mockery/v2/pkg/config.SemVer=v$pkgver" main.go
for i in bash zsh fish; do
# --config=/dev/null to avoid reading .mockery.yaml