diff --git a/.SRCINFO b/.SRCINFO index a4aae50..834748a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 3b578c4..3c206b1 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ # Contributor: William Ting 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() {