[arch-commits] Commit in podman-dnsname/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Fri Mar 26 18:55:10 UTC 2021


    Date: Friday, March 26, 2021 @ 18:55:10
  Author: foxboron
Revision: 904661

upgpkg: podman-dnsname 1.2.0-1

Modified:
  podman-dnsname/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-26 18:37:45 UTC (rev 904660)
+++ PKGBUILD	2021-03-26 18:55:10 UTC (rev 904661)
@@ -2,7 +2,7 @@
 
 pkgname=podman-dnsname
 _pkgname=dnsname
-pkgver=1.1.1
+pkgver=1.2.0
 pkgrel=1
 pkgdesc="name resolution for containers"
 arch=("x86_64")
@@ -9,11 +9,15 @@
 url="https://github.com/containers/dnsname"
 license=("APACHE")
 makedepends=("git" "go")
-_commit=c654c95366ac5f309ca3e5727c9b858864247328
+_commit=3b29247c46d2811610ad57dd9fdae61157532a5b	#refs/tags/v1.2.0^{}
 source=("git+${url}.git#commit=${_commit}")
 validpgpkeys=("B7DBDCA456F7335E91F1C25CD3624C551D0515C4")
 sha256sums=('SKIP')
 
+pkgver() {
+    cd ${_pkgname}
+    git describe --tags | sed 's/^v//;s/-/+/g'
+}
 
 build() {
   cd "${_pkgname}"



More information about the arch-commits mailing list