From 537060fc1f0826ed12ec6105aa257b66d3aeb454 Mon Sep 17 00:00:00 2001 From: h44z Date: Wed, 2 Feb 2022 16:34:01 +0100 Subject: [PATCH] Fix pkgver, always use version for steamguard-cli Instead of using the tag name of steamguard (steamguard-vX.X.X), use the tag for steamguard-cli (vX.X.X). --- PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index 95f9a92..7a9ca48 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,7 +15,7 @@ sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_pkgname}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' + git describe --long --tags --match 'v*' | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//g' } build() {