# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcoreaddons pkgver=5.53.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="30cbf2ed2d2854977c3e4abdeb1ea0920c74325b9473ef02e05353c0e42381615210e1d5ae0d915f2ca2f29531a8b5c9f3ea16ba6ec3bab0f86a13f077774cac kcoreaddons-5.53.0.tar.xz"