# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=akonadi-notes pkgver=23.04.3 pkgrel=1 pkgdesc="Libraries and daemons to implement management of notes" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/KDE_PIM" license="LGPL-2.0-or-later" depends_dev=" ki18n-dev kmime-dev qt5-qtbase-dev " makedepends="$depends_dev extra-cmake-modules samurai " _repo_url="https://invent.kde.org/pim/akonadi-notes.git" source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-notes-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" b678c7bcd08c72537a8b6a73db57a1ae18439818ff2205c53d1e55e363e66fbd8e8264be1aea367db195fad7ee216742c83f825fe351c332b7f9626029dc36e0 akonadi-notes-23.04.3.tar.xz "