diff options
author | Janusz Lewandowski | 2016-04-10 17:40:48 +0200 |
---|---|---|
committer | Janusz Lewandowski | 2016-04-10 17:40:48 +0200 |
commit | eb31b43e518682f5e63c537e6d9b40f5b8a13039 (patch) | |
tree | 5d41e58471d8a58584158aa4adca038700533526 | |
parent | 4529bb45e654e89db7856ad96e60c354a49ee3a5 (diff) | |
download | aur-eb31b43e518682f5e63c537e6d9b40f5b8a13039.tar.gz |
Correctly format the version number.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = python-pydbus-git pkgdesc = Pythonic DBus library - pkgver = v0.5.r0.0a681e4 + pkgver = 0.5.r0.0a681e4 pkgrel = 1 url = https://github.com/LEW21/pydbus arch = any @@ -1,7 +1,7 @@ # Maintainer: Janusz Lewandowski <lew21@xtreeme.org> pkgname=('python-pydbus-git' 'python2-pydbus-git') -pkgver=v0.5.r0.0a681e4 +pkgver=0.5.r0.0a681e4 pkgrel=1 pkgdesc="Pythonic DBus library" arch=("any") @@ -13,7 +13,7 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/pydbus" - printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//')" } package_python-pydbus-git() { |