# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcoreaddons pkgver=5.58.0 pkgrel=0 pkgdesc="Addons to QtCore" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1" 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 \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="704985ec358804089267dc43efff0947dd56b74e627db900e38af5ca6c03be4c5f271a5e4ca8817f4ca67642b13c22bfdce57d77ea64266766e2d84a53d0238e kcoreaddons-5.58.0.tar.xz"