diff options
author | bartus | 2021-01-20 21:25:38 +0100 |
---|---|---|
committer | bartus | 2021-01-20 21:28:55 +0100 |
commit | 9162a2c165063fd8c5fae95897272cc0bcee538f (patch) | |
tree | 0a24d5018df272e6c83d2fb0b4d5b81d13ab3915 /PKGBUILD | |
parent | d58d437b28f485de7261043b787cbe4e576cb5e0 (diff) | |
download | aur-9162a2c165063fd8c5fae95897272cc0bcee538f.tar.gz |
Update pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3,7 +3,7 @@ # prev-Maintainer: Raimar Sandner <raimar.sandner@uibk.ac.at> pkgname=cppqed-git -pkgver=2.100.3 +pkgver=2.100.8.r183.g712b601e pkgrel=1 pkgdesc="Highly flexible framework for simulating open quantum dynamics." arch=(i686 x86_64) @@ -30,8 +30,7 @@ prepare() { } pkgver() { - cd "${pkgname}" - echo "$(git describe --tags | sed 's|-|_|g')" + git -C "${srcdir}/${pkgname}" describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |