Date: Tuesday, February 21, 2023 @ 13:38:04
  Author: foxxx0
Revision: 1403244

upgpkg: consul 1.14.4-2: bump pinned commit to actually build 1.14.4

Modified:
  consul/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-21 13:36:13 UTC (rev 1403243)
+++ PKGBUILD    2023-02-21 13:38:04 UTC (rev 1403244)
@@ -2,9 +2,9 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=consul
-_commit=b29e5894f2322c9294b1f03c9b264ae2e6ae0eb0
+_commit=dae670fefdb53352c71af810140425552ca3f299
 pkgver=1.14.4
-pkgrel=1
+pkgrel=2
 pkgdesc="A tool for service discovery, monitoring and configuration."
 arch=('x86_64')
 url="https://www.consul.io";
@@ -60,6 +60,12 @@
   #make build
 }
 
+check() {
+  cd "${srcdir}/${pkgname}"
+  # assert version number from commit hash matches pkgver metadata
+  ./build/consul --version | head -1 | grep -qF -- "v${pkgver}"
+}
+
 package() {
   cd "${srcdir}/${pkgname}"
 

Reply via email to