# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcoreaddons pkgver=5.42.0 pkgrel=0 pkgdesc='Addons to QtCore' arch="all" url='https://community.kde.org/Frameworks' license="LGPL-2.1" depends="" makedepends="extra-cmake-modules qt5-qttools-dev doxygen shared-mime-info" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # armhf problems build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="b92fcf79bbe4c2549c22d3eda457733a22f7df33838c63f444091168de6325efd6273139cee4ab372f7d51a2e9a24112f1ae899489b52c5fedfbd095292c3205 kcoreaddons-5.42.0.tar.xz"