# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=plasma-browser-integration pkgver=5.17.2 pkgrel=0 pkgdesc="Components necessary to integrate browsers into the Plasma Desktop" arch="all" 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="982373c4aed2ed725caba360087c1d014c2382653fe81eedf76c6588c8bd731a083a0b1f9e587a1a6ad72a232ca54b2057208c9ffa48a0eef499dab51df0d58a plasma-browser-integration-5.17.2.tar.xz"