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).
This commit is contained in:
h44z 2022-02-02 16:34:01 +01:00 committed by GitHub
parent 1901994d0e
commit 537060fc1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ sha256sums=('SKIP')
pkgver() { pkgver() {
cd "${srcdir}/${_pkgname}" 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() { build() {