# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=drkonqi arch=('x86_64') pkgver=${_plasmaver} pkgrel=1 pkgdesc="Crash handler for KDE software" url="https://invent.kde.org/plasma/drkonqi" license=('GPL' 'LGPL' 'FDL') depends=('ki18n6' 'kcoreaddons6' 'kconfig6' 'kservice6' 'kjobwidgets6' 'kio6' 'kcrash6' 'kcompletion6' 'kwidgetsaddons6' 'kwallet6' 'knotifications6' 'kidletime6' 'kwindowsystem6' 'syntax-highlighting6' 'kstatusnotifieritem' 'kirigami6' 'kitemmodels6' 'kuserfeedback6' 'pygdbmi' 'python3-psutil') makedepends=('extra-cmake-modules' 'kdoctools6') conflicts=('drkonqi6') replaces=('drkonqi6') source=("https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz") md5sums=(`grep ${pkgname}-${_plasmaver}.tar.xz ../kf6.md5 | cut -d" " -f1`) prepare() { cd ${pkgname}-${pkgver} #patch -p1 -i ${srcdir}/ef22aade1ae5299367b5cfb4d828c8849839caf2.diff } build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DKDE_INSTALL_LIBEXECDIR=/usr/lib \ -DBUILD_TESTING=OFF \ -DWITH_PYTHON_VENDORING=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }