summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD48
2 files changed, 32 insertions, 37 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 47ed4723647..6f789ddeaf3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,25 @@
pkgbase = akonadi-search-git
- pkgdesc = Libraries and daemons to implement searching in Akonadi. (GIT version)
- pkgver = r490.007a017
+ pkgdesc = Libraries and daemons to implement searching in Akonadi
+ pkgver = 5.16.40_r1044.gea0c103
pkgrel = 1
- url = https://projects.kde.org/projects/playground/pim/akonadi-search
- arch = i686
+ url = https://kontact.kde.org
arch = x86_64
+ groups = kdepim-git
license = GPL
license = LGPL
license = FDL
- makedepends = extra-cmake-modules
- makedepends = kdoctools
makedepends = git
+ makedepends = extra-cmake-modules-git
+ makedepends = boost
depends = xapian-core
- depends = kdepimlibs-git
+ depends = akonadi-mime-git
+ depends = kcontacts-git
+ depends = kcalendarcore-git
+ depends = krunner-git
provides = akonadi-search
conflicts = akonadi-search
- source = git://anongit.kde.org/akonadi-search
- sha1sums = SKIP
+ source = git+https://github.com/KDE/akonadi-search.git
+ sha256sums = SKIP
pkgname = akonadi-search-git
diff --git a/PKGBUILD b/PKGBUILD
index 00898a7ad58..44c4e54cd01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,42 +1,34 @@
-# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
+# Merged with official ABS akonadi-search PKGBUILD by João, 2021/02/02 (all respective contributors apply herein)
+# Maintainer: João Figueiredo <jf.mundox@gmail.com>
+# Contributor: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=akonadi-search-git
-pkgver=r490.007a017
+pkgver=5.16.40_r1044.gea0c103
pkgrel=1
-pkgdesc="Libraries and daemons to implement searching in Akonadi. (GIT version)"
-url='https://projects.kde.org/projects/playground/pim/akonadi-search'
-arch=(i686 x86_64)
+pkgdesc="Libraries and daemons to implement searching in Akonadi"
+url='https://kontact.kde.org'
+arch=($CARCH)
license=(GPL LGPL FDL)
-depends=(xapian-core kdepimlibs-git)
-makedepends=(extra-cmake-modules kdoctools git)
-provides=(akonadi-search)
-conflicts=(akonadi-search)
-source=("git://anongit.kde.org/akonadi-search")
-sha1sums=('SKIP')
-_gitname=akonadi-search
+depends=(xapian-core akonadi-mime-git kcontacts-git kcalendarcore-git krunner-git)
+makedepends=(git extra-cmake-modules-git boost)
+conflicts=(${pkgname%-git})
+provides=(${pkgname%-git})
+groups=(kdepim-git)
+source=("git+https://github.com/KDE/${pkgname%-git}.git")
+sha256sums=('SKIP')
pkgver() {
- cd "${_gitname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-prepare() {
- rm -fr build
- mkdir -p build
+ cd ${pkgname%-git}
+ _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)"
}
build() {
- cd build
- cmake "../${_gitname}" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DLIB_INSTALL_DIR=lib \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ cmake -B build -S ${pkgname%-git} \
-DBUILD_TESTING=OFF
- make
+ cmake --build build
}
package() {
- make -C build DESTDIR=${pkgdir} install
+ DESTDIR="$pkgdir" cmake --install build
}
-