summaryrefslogtreecommitdiff
path: root/qwt5-qt5/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-04-12 11:14:13 +0200
committerErich Eckner <git@eckner.net>2021-04-12 11:14:13 +0200
commit0df7805764ce3183e73f0ab9a37098b4a34d1366 (patch)
treeef1b34b56a022dd15384900f45de00aa3a2d8290 /qwt5-qt5/PKGBUILD
parent8c3768b384fecf48aff8dfce27490a402ee6f0f2 (diff)
downloadarchlinuxewe-0df7805764ce3183e73f0ab9a37098b4a34d1366.tar.xz
repair pkgver() to give *currently*checked*out* version, not *newest*
Diffstat (limited to 'qwt5-qt5/PKGBUILD')
-rw-r--r--qwt5-qt5/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/qwt5-qt5/PKGBUILD b/qwt5-qt5/PKGBUILD
index 035d80dbb..7c3616c97 100644
--- a/qwt5-qt5/PKGBUILD
+++ b/qwt5-qt5/PKGBUILD
@@ -19,10 +19,10 @@ sha512sums=('SKIP'
pkgver() {
printf '5.2.3.%s.%s\n' \
"$(
- git -C "${pkgname}" rev-list --count HEAD
+ git -C "${pkgname}" rev-list --count "${_commit}"
)" \
"$(
- git -C "${pkgname}" rev-parse --short HEAD
+ git -C "${pkgname}" rev-parse --short "${_commit}"
)"
}