diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = python-azure-git pkgdesc = Microsoft Azure SDK for Python - pkgver = latest - pkgrel = 2 + pkgver = 4.0.0.r720.gff6fd86c4 + pkgrel = 1 url = https://github.com/Azure/azure-sdk-for-python arch = any license = MIT @@ -1,8 +1,8 @@ # Maintainer: pallxk <aur at pallxk dot com> pkgname=python-azure-git -pkgver=latest -pkgrel=2 +pkgver=4.0.0.r720.gff6fd86c4 +pkgrel=1 pkgdesc="Microsoft Azure SDK for Python" arch=('any') url="https://github.com/Azure/azure-sdk-for-python" @@ -14,6 +14,11 @@ conflicts=('python-azure') source=("git+https://github.com/Azure/azure-sdk-for-python.git") md5sums=('SKIP') +pkgver() { + cd azure-sdk-for-python + git describe --long --tags --match azure_* | sed 's/^azure_//;s/-/.r/;s/-/./' +} + build() { cd azure-sdk-for-python python setup.py build |