summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3ca63b0e8ee..9e8b25f19ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: Antonio Rojas <arojas@archlinux.org>
pkgname=kidentitymanagement-git
-pkgver=5.17.40_r3782.g28881265
+pkgver=5.18.40_r3795.g5a86412f
pkgrel=1
pkgdesc="KDE PIM libraries"
arch=($CARCH)
@@ -20,7 +20,8 @@ sha256sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
- _ver="$(grep -m1 'set(PIM_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)"
+ _ver="$(grep -m1 'set(RELEASE_SERVICE_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)"
+ _ver=${_ver:-"$(grep -m1 'set(PIM_VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)"}
echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}