# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdialog pkgver=19.12.2 pkgrel=1 arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://www.kde.org/" pkgdesc="A utility for displaying dialog boxes from shell scripts" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev ktextwidgets-dev knotifications-dev kguiaddons-dev kiconthemes-dev kwindowsystem-dev kio-dev kdbusaddons-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kdialog-$pkgver.tar.xz" subpackages="$pkgname-lang" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="f6882dfdde9275930c289f920db46584aede465bc3a05edd4209de46428fd8e4762ad4d4f678606e4a17f5103ce693ad8f90e26363eab17c1cac1bb6c14c3950 kdialog-19.12.2.tar.xz"