# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kcrash pkgver=5.62.0 pkgrel=0 pkgdesc="Support for application crash analysis and bug report from apps" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="kcoreaddons-dev kwindowsystem-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcrash-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="cf5925dbc3304e7e3e2b8630a1b723250e23ac88b72bb36c79ec8636b45066a1b8cfa379838d85fcfa0b6e2f71852ea931468d502cd238901e3dce102a23496b kcrash-5.62.0.tar.xz"