aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD.in
diff options
context:
space:
mode:
authorbartus2019-03-20 08:14:30 +0100
committerbartus2019-09-16 21:49:33 +0200
commit779304e0015c3505f33b46ea47dda734008886e4 (patch)
tree20a55b5564536e90fd1768e92d028a8f320c769b /PKGBUILD.in
parent6884dd194fea9888be4c9625b9cb887cab060c89 (diff)
downloadaur-779304e0015c3505f33b46ea47dda734008886e4.tar.gz
pop version
Diffstat (limited to 'PKGBUILD.in')
-rw-r--r--PKGBUILD.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD.in b/PKGBUILD.in
index 471c1c6f0fa5..94ced2923d77 100644
--- a/PKGBUILD.in
+++ b/PKGBUILD.in
@@ -58,7 +58,7 @@ sha512sums=('SKIP'
'6f33d57f242fa8ce04b65e06a712bd54677306a45b22cb853fbe348089cd4673bd4ed91073074fe067166fe8951c370f8bbbc386783e3ed5170d52e9062666fe')
pkgver() {
- cd $_pkgname
+ cd $srcdir/$_pkgname
printf %s.%s.%s.r%s.%s $(grep -oP 'gimp_(major|minor|micro)_version\], \[\K[0-9]{1,2}' configure.ac) $(git rev-list $(git describe --abbrev=0)..HEAD --count) $(git log --pretty=format:'%h' -n 1)
}