# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdf pkgver=19.04.3 pkgrel=0 arch="all" url="https://kde.org/applications/system/kdiskfree/" pkgdesc="View disk usage" license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev kconfigwidgets-dev kcoreaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev kcmutils-dev knotifications-dev kwidgetsaddons-dev kxmlgui-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="45a4f51677abaf105166129196c8369a2bf91d1b27d2321d959f23c9b97d2c8a888bfd252e7c839311af32508d0b6549bc326a1bd3b08ec924db751f87abe996 kdf-19.04.3.tar.xz"