# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-browser-integration pkgver=5.17.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" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="5387838cc22dd78a21da5c9d0ab3529878e107b5f06d21252bf2a93119171d20180920cda28cd5e1c5b780db1cdd0d63b206e3d988f088c8e5d1d14c08ddb5f0 plasma-browser-integration-5.17.5.tar.xz"