# 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=libkomparediff2 pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/development" pkgdesc="Library to compare files and strings" license="GPL-2.0-or-later AND LGPL-2.0-or-later" makedepends=" extra-cmake-modules kcodecs-dev kconfig-dev kcoreaddons-dev ki18n-dev kio-dev kxmlgui-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/sdk/libkomparediff2.git" source="https://download.kde.org/stable/release-service/$pkgver/src/libkomparediff2-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -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=" 89858bda9478cea1857e3b8976386aa8101769d632b489747bc485685ee3d6983dc580126ed5a9aa2b4ce3162eaeac98bf36b6292f9c44a54807488c677a041e libkomparediff2-23.04.3.tar.xz "