summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd6b584ec9b..2eb47ff677c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = bbkeys-git
pkgdesc = Blackbox tool for setting keyboard shortcuts for manipulating windows and virtual desktop
- pkgver = 0.9.1.21
+ pkgver = 0.9.2.r0.g6a28d46
pkgrel = 1
url = http://bbkeys.sourceforge.net/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index d04d6248ad7..8083f2dc584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
#
pkgname=bbkeys-git
_pkgname=bbkeys
-pkgver=0.9.1.21
+pkgver=0.9.2.r0.g6a28d46
pkgrel=1
pkgdesc="Blackbox tool for setting keyboard shortcuts for manipulating windows and virtual desktop"
arch=('i686' 'x86_64')
@@ -22,7 +22,7 @@ md5sums=('SKIP'
pkgver() {
cd $pkgname
- git describe --tags|sed -r 's,rel-([0-9])([0-9])([0-9]),\1.\2.\3,;s,^[^0-9]*,,;s,[-_],.,g;s,\.g.*$,,'
+ git describe --long --tags | sed -E 's/rel-([0-9])([0-9])([0-9])/\1.\2.\3/;s/([^-]*-g)/r\1/;s/-/./g'
}
prepare() {