diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = limnoria-git pkgdesc = An IRC bot based on Supybot, with sqlite3 support and other features (dev channel) - pkgver = 0.83.4.1.10347.530c246 + pkgver = v0.83.4.1.r4198.6f9deecb pkgrel = 1 url = https://github.com/ProgVal/Limnoria arch = any @@ -2,7 +2,7 @@ pkgname=limnoria-git _pkgname=Limnoria -pkgver=0.83.4.1.10347.530c246 +pkgver=v0.83.4.1.r4198.6f9deecb pkgrel=1 pkgdesc="An IRC bot based on Supybot, with sqlite3 support and other features (dev channel)" arch=('any') @@ -26,7 +26,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" - echo $(awk -F"['+]" '/% version/ {print $2}' ./setup.py).$(git rev-list --count HEAD).$(git rev-parse --short HEAD) + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } build() { |