summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRafael Ascensão2019-02-27 17:36:34 +0000
committerRafael Ascensão2019-02-27 17:36:34 +0000
commit78f37c08e6d363c145871b41023201958661444f (patch)
treea03d48ca597c82e2bd4f9c44d6c297a0dec6b6ec /PKGBUILD
parentb3ebf841a11875079599ed72d0639baf607b5d28 (diff)
downloadaur-78f37c08e6d363c145871b41023201958661444f.tar.gz
remove pkgver() dependency on prepare()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8df69b8d473..e4b6bd2681c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Jean Lucas <jean@4ray.co>
pkgname=git-bug-git
-pkgver=0.4.0.r29.gc92da55
+pkgver=0.4.0.r89.g59a4273
pkgrel=1
pkgdesc='Distributed bug tracker embedded in Git'
arch=('x86_64' 'i686')
@@ -19,7 +19,7 @@ sha256sums=('SKIP')
_gitbugsrc="gopath/src/${url#*://}"
pkgver(){
- cd "${srcdir}/${_gitbugsrc}"
+ cd "${srcdir}/${pkgname%-git}"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/; s/-/./g'
}