# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=dolphin-plugins pkgver=21.04.2 pkgrel=0 arch="all !armhf !s390x !mips64" url="https://www.kde.org/applications/system/dolphin/" pkgdesc="Extra Dolphin plugins" license="GPL-2.0-or-later" makedepends=" dolphin-dev extra-cmake-modules ki18n-dev kio-dev ktexteditor-dev ktextwidgets-dev kxmlgui-dev qt5-qtbase-dev " source="https://download.kde.org/stable/release-service/$pkgver/src/dolphin-plugins-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_svn=OFF # Broken "error: expected unqualified-id before '(' token" cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" 379e87f0ee28dd414c1ffe1f2e7775681cf639cda72a6357c357f2a7a30aefee77cfc8b52cb4030ff68555a38d0abf428ac155cbd2d3263ac55b4f41b9ae1fda dolphin-plugins-21.04.2.tar.xz "