# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=dolphin-plugins pkgver=${_kdever} pkgrel=1 pkgdesc='Extra Dolphin plugins' url='https://invent.kde.org/sdk/dolphin-plugins' arch=('x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kde-sdk' 'kde-uninstall' 'programming') depends=('kxmlgui6' 'ki18n6' 'kio6' 'ktextwidgets6' 'kcoreaddons6' 'solid6' 'ktexteditor6' 'dolphin' 'qt6-5compat') makedepends=('extra-cmake-modules' 'kdoctools6') conflicts=('dolphin-plugins6') replaces=('dolphin-plugins6') optdepends=('git: git support' 'subversion: svn support') source=("$_mirror/${pkgname}-$_kdever.tar.xz") md5sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`) build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DQT_MAJOR_VERSION=6 cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }