ssh-pageant: fix pkgver

strip leading "v"
This commit is contained in:
Christoph Reiter 2023-05-19 17:17:31 +02:00
parent 2908646669
commit 16ad5d9cf0

View File

@ -1,6 +1,6 @@
_realname=ssh-pageant
pkgname="${_realname}"
pkgver=v1.4.r15.gc804ba4
pkgver=1.4.r15.gc804ba4
pkgrel=1
pkgdesc="An SSH authentication agent for Cygwin/MSYS to PuTTY's Pageant"
_commit="c804ba43bfd63bc058b7ab86a96953572511e263"
@ -17,7 +17,7 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_realname"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {