correct pkgver logic

This commit is contained in:
Cedric Girard 2016-05-18 11:03:01 +02:00
parent 3ea8ed2b94
commit f34af14949
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,8 @@
# Generated by mksrcinfo v8
# Wed May 18 09:02:52 UTC 2016
pkgbase = autojump-git
pkgdesc = A faster way to navigate your filesystem from the command line
pkgver = release.v21.7.1.191.g113a84f
pkgver = 22.3.0.r14.g9a6e286
pkgrel = 1
url = http://github.com/joelthelion/autojump
arch = any

View file

@ -4,7 +4,7 @@
# Contributor: William Ting <william.h.tingATgmail.com>
pkgname=autojump-git
pkgver=release.v21.7.1.191.g113a84f
pkgver=22.3.0.r14.g9a6e286
pkgrel=1
pkgdesc="A faster way to navigate your filesystem from the command line"
arch=(any)
@ -23,7 +23,7 @@ _gitname="autojump"
pkgver() {
cd ${_gitname}
git describe --always | sed 's|-|.|g'
git describe --long --tags | sed 's/^release\-v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {