summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Witschel2021-01-19 23:52:40 +0100
committerJonas Witschel2021-01-19 23:52:40 +0100
commit09977bd066b5c289d29cec77853e03c96a447086 (patch)
tree00bd6f60df3fb5ba8f1145503ba78d2e7918bef5
parenta6125a42b3f5edec32c70455d4e8d079510ff9f4 (diff)
downloadaur-09977bd066b5c289d29cec77853e03c96a447086.tar.gz
upgpkg: swtpm-git 0.5.0.r31.526c9fa-1: don't omit revision for release tags
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e15033054e3..e12c8a15803 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = swtpm-git
pkgdesc = Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface
- pkgver = 0.5.0.r18.f495d8f
+ pkgver = 0.5.0.r31.526c9fa
pkgrel = 1
url = https://github.com/stefanberger/swtpm
arch = x86_64
@@ -28,4 +28,3 @@ pkgbase = swtpm-git
sha512sums = SKIP
pkgname = swtpm-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 3ab931a57fc..6a3838d4149 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Jonas Witschel <diabonas@archlinux.org>
pkgname=swtpm-git
-pkgver=0.5.0.r18.f495d8f
+pkgver=0.5.0.r31.526c9fa
pkgrel=1
pkgdesc='Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface'
arch=('x86_64')
@@ -18,7 +18,7 @@ sha512sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
- git describe | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
+ git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {