# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkomparediff2 pkgver=19.08.2 pkgrel=0 arch="all" 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 qt5-qtbase-dev kcoreaddons-dev kcodecs-dev kconfig-dev kxmlgui-dev ki18n-dev kio-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="7018b25a723fbb1a331982e9d4f2666e23fdb1f82354d141b0cf85ba180c9fee766d320ea664f5d4dd80beb708896da2cbc99d078157f8ea1437dc4abefb83f5 libkomparediff2-19.08.2.tar.xz"