summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Lisin2022-06-15 19:55:46 +0200
committerMatthias Lisin2022-06-15 19:55:46 +0200
commitec6343b39af42bfe2bca2a0efa81c4a840623ae4 (patch)
treee66eeaa0a99ea38f009200a3d7525dffadaa64c7
parent9119e319e6e7e1660681f44ff0e5116b4ef50953 (diff)
downloadaur-ec6343b39af42bfe2bca2a0efa81c4a840623ae4.tar.gz
upgpkg: golang-mockery 2.13.1-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bb12c56ec5a..4f856899810 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = golang-mockery
pkgdesc = A mock code autogenerator for golang
pkgver = 2.13.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/vektra/mockery
arch = x86_64
license = BSD
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