summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorHåvard Pettersson2018-04-02 14:46:57 +0200
committerHåvard Pettersson2018-04-02 14:47:20 +0200
commitfa6aba1f94fa900558a299e9c667c40e77eef8bd (patch)
treeed5ba92cbab5fae1cda117da6e8ee487baa60e91 /PKGBUILD
parent6b7479815180d11f40d1a41627726e2620a16256 (diff)
downloadaur-python-iexfinance-git.tar.gz
git describe pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8b5cdfac3d10..18d1653c46f7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=python-iexfinance-git
pkgname=(python-iexfinance-git python2-iexfinance-git)
-pkgver=r53.d6d7710
+pkgver=v0.3.1.0.gd6d7710
pkgrel=1
pkgdesc="Python wrapper for the Investor's Exchange (IEX) Developer API"
url='https://addisonlynch.github.io/iexfinance/'
@@ -16,7 +16,7 @@ sha256sums=(SKIP)
pkgver() {
cd ${pkgname[0]}
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --tags --long | sed 's/-/./g'
}
build() {