Skip to content

Commit

Permalink
ssh-pageant: fix pkgver
Browse files Browse the repository at this point in the history
strip leading "v"
  • Loading branch information
lazka committed May 19, 2023
1 parent 2908646 commit 16ad5d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssh-pageant/PKGBUILD
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit 16ad5d9

Please sign in to comment.