2025-02-11 12:36:53 +00:00

47 lines
1.2 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=libkomparediff2
pkgver=24.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
arch="all !armhf"
pkgdesc="Library to compare files and strings"
url="https://kde.org/applications/development"
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
makedepends="
extra-cmake-modules
kconfig-dev
kcoreaddons-dev
ki18n-dev
kio-dev
kxmlgui-dev
qt6-qtbase-dev
samurai
"
subpackages="$pkgname-dev $pkgname-lang"
_repo_url="https://invent.kde.org/sdk/libkomparediff2.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/libkomparediff2-$pkgver.tar.xz"
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="
27352094030174d82da4621090fbdf233fb51754dff53d0d68591dd3687641911974d87f71d8174a620bd41b51899df21a92fd83067ff3ab891fb2ce521a5240 libkomparediff2-24.12.2.tar.xz
"