diff options
author | Mark Vainomaa | 2016-07-22 17:17:04 +0300 |
---|---|---|
committer | Mark Vainomaa | 2016-07-22 17:17:04 +0300 |
commit | 4df090bd27f1ef3e6aa02c031bea609b4aa7faaa (patch) | |
tree | 138c7f05adf227e96ff91e543c388298cb35a9ce /PKGBUILD | |
parent | 5bfe007832ddf42a71d43decfc8dd2bd0598de2f (diff) | |
download | aur-4df090bd27f1ef3e6aa02c031bea609b4aa7faaa.tar.gz |
Fix pkgver function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -14,14 +14,16 @@ replaces=("python-pulsar") source=("python-pulsar-git::git+https://github.com/quantmind/pulsar.git") md5sums=("SKIP") -pkgver() { - cd "$pkgname" - cat pulsar.egg-info/PKG-INFO |grep "^Version:" | awk '{print $2}' -} build() { + true +} + +pkgver() { cd "$pkgname" - python setup.py build + # Build needs to be done here to get right version + python setup.py build >/dev/stderr + cat pulsar.egg-info/PKG-INFO |grep "^Version:" | awk '{print $2}' } package() { |