diff options
author | Maximilian Weiss | 2017-11-07 08:57:00 -0800 |
---|---|---|
committer | Maximilian Weiss | 2017-11-07 08:57:00 -0800 |
commit | 46a452a4b4b3143d4f46cfad91ab5a79ca1c036a (patch) | |
tree | 775b990552eb0e860460f47de86b6a8ea71cccc6 | |
parent | b8c737252ba9d40ae21d09d09cadd2621e6f3ab6 (diff) | |
download | aur-46a452a4b4b3143d4f46cfad91ab5a79ca1c036a.tar.gz |
Minor bugfix for getting future tags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = python-btchip-git pkgdesc = Python library to communicate with BTChip dongle pkgver = 0.1.22 - pkgrel = 1 + pkgrel = 2 url = https://github.com/LedgerHQ/btchip-python arch = any license = Apache @@ -4,7 +4,7 @@ pkgname=python-btchip-git pkgver=0.1.22 -pkgrel=1 +pkgrel=2 pkgdesc="Python library to communicate with BTChip dongle" arch=('any') depends=('python-hidapi') @@ -19,12 +19,12 @@ sha256sums=('SKIP') pkgver() { cd "$srcdir/btchip-python/" - git describe --abbrev=0 --tags | head -n 1 | sed 's/v//g' + git tag -l | tail -n 1 | sed 's/v//g' } build() { cd "$srcdir/btchip-python/" - git checkout $(git describe --abbrev=0 --tags | head -n 1) > /dev/null 2>&1 + git checkout $(git tag -l | tail -n 1) > /dev/null 2>&1 python setup.py build } |