# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdebugsettings pkgver=19.12.0 pkgrel=0 arch="all" url="https://kde.org/applications/utilities/" pkgdesc="An application to enable/disable qCDebug" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfig-dev kdbusaddons-dev ki18n-dev kwidgetsaddons-dev kitemviews-dev kcompletion-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="0570bcbf0e66ef74d22ac3016fa6d77a7d42f72ad25b47008a146cd3753e3ee9d4474e9c8981440097b5757c5997b60aae523939f9b49df85b1edd85922bdfd2 kdebugsettings-19.12.0.tar.xz"