diff options
author | Benoit Pierre | 2016-05-12 03:46:09 +0200 |
---|---|---|
committer | Benoit Pierre | 2016-05-12 03:46:09 +0200 |
commit | 7ac24535c21e9f0bc94f01e6791d8bbd808581b9 (patch) | |
tree | 07d8bcd19ef15d80a1f90a523f6cd3db204e1cda | |
parent | 3348877f5bec72a25886460d2e5212d41c2c94a1 (diff) | |
download | aur-7ac24535c21e9f0bc94f01e6791d8bbd808581b9.tar.gz |
fix version...
Use setup.py 'patch_version' command to update 'pkgver' and make
sure Plover's internal version is updated (so the output of
`plover --version` is relevant).
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = plover-git pkgdesc = Free and open source real-time stenography engine. pkgver = 3.0.0 - pkgrel = 2 + pkgrel = 1 url = http://www.openstenoproject.org/plover/ arch = any license = GPL2 @@ -3,7 +3,7 @@ pkgname=plover-git pkgdesc="Free and open source real-time stenography engine." pkgver=3.0.0 -pkgrel=2 +pkgrel=1 arch=('any') license=('GPL2') depends=( @@ -30,7 +30,7 @@ sha1sums=(SKIP) pkgver() { cd "$pkgname" - git describe --tags --match='v[0-9]*' | sed -n '/^v\([0-9.]\+\)\(-[0-9]\+\)\?\(-[0-9a-z]\+\)\?$/{s//\1\2\3/;s/-/./g;p;Q0};Q1' + python2 setup.py patch_version | sed -n '/^patching version to /{s///;s/+/./;p;Q0};${Q1}' } check() { |