# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdeplasma-addons pkgver=5.17.5 pkgrel=0 pkgdesc="All kind of addons to improve your Plasma experience" arch="all !ppc64le !s390x !armhf" # ppc64le and s390x blocked by qt5-qtwebengine, armhf blocked by qt5-qtdeclarative url="https://www.kde.org/workspaces/plasmadesktop/" license="LGPL-2.0-only AND GPL-2.0-or-later" depends="purpose" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtwebengine-dev karchive-dev kconfig-dev kcoreaddons-dev kdeclarative-dev kholidays-dev ki18n-dev kiconthemes-dev kio-dev kcmutils-dev kross-dev knotifications-dev plasma-framework-dev krunner-dev kservice-dev sonnet-dev kunitconversion-dev kwindowsystem-dev knewstuff-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/plasma/$pkgver/kdeplasma-addons-$pkgver.tar.xz" subpackages="$pkgname-dev $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="ea836cdc99f583448d4b272b6d6b1e98c4926127307ac966dff779236ec10401af627958994dbc22959a13db9b67bf1b4ae05e911491eea874a2ce210c37b2d5 kdeplasma-addons-5.17.5.tar.xz"