aports/community/akonadi-notes/APKBUILD
2024-09-13 13:50:51 +00:00

45 lines
1.1 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
pkgname=akonadi-notes
pkgver=24.08.1
pkgrel=0
pkgdesc="Libraries and daemons to implement management of notes"
arch="all"
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later"
depends_dev="
ki18n-dev
kmime-dev
qt6-qtbase-dev
"
makedepends="$depends_dev
extra-cmake-modules
samurai
"
subpackages="$pkgname-dev $pkgname-lang"
_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"
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="
86d16bfcdc8f3da39a1eafe5e4f04d2981128ba91ac478c6ec5969ff779d51ae826fb6e61e0c282f5e0d888f891eb3536bd74924ef01f5064245c68ada7a91f5 akonadi-notes-24.08.1.tar.xz
"