summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 708bf6d51a1..66bc49c2c7f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = kidentitymanagement-git
pkgdesc = KDE PIM libraries
- pkgver = 5.17.40_r3782.g28881265
+ pkgver = 5.18.40_r3795.g5a86412f
pkgrel = 1
url = https://kontact.kde.org
arch = x86_64
@@ -15,4 +15,3 @@ pkgbase = kidentitymanagement-git
sha256sums = SKIP
pkgname = kidentitymanagement-git
-
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)"
}