# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-browser-integration pkgver=5.18.5 pkgrel=0 pkgdesc="Components necessary to integrate browsers into the Plasma Desktop" arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://community.kde.org/Plasma/Browser_Integration" license="GPL-3.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev kio-dev ki18n-dev kconfig-dev kdbusaddons-dev knotifications-dev krunner-dev kactivities-dev purpose-dev kfilemetadata-dev" source="https://download.kde.org/stable/plasma/$pkgver/plasma-browser-integration-$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="096bfc0940fa3a40fe5145078fe801e2436779ac3333e953a68f7a68d3d592e3978606b70f1678c83a0748221e4d992ce14e0cb72c671f242d13db41390e8730 plasma-browser-integration-5.18.5.tar.xz"