# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=milou pkgver=5.18.5 pkgrel=0 pkgdesc="A dedicated search application built on top of Baloo" arch="all !armhf" # armhf blocked by qt5-qtdeclarative url="https://www.kde.org/workspaces/plasmadesktop/" license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kdeclarative-dev kservice-dev plasma-framework-dev krunner-dev kitemmodels-dev" source="https://download.kde.org/stable/plasma/$pkgver/milou-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="3c1d0b032e8f26a637aed8067d919d95bcbf033e0b494bc9a2a0295d000773ac3900903dca96eb32d3fc1b831884e3435ab91a26c9cd179548c3b2cd0377577d milou-5.18.5.tar.xz"