# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdf pkgver=19.08.1 pkgrel=1 arch="all" url="https://kde.org/applications/system/org.kde.kdf" 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="a88d1622e8e36d0f2e9b0c2061fff88d19f171e11b2df38249504ff53f240cac3c735cc077cc132049fc492b9cbeaba9713207c69e6b6e4c02eb16348c635fc6 kdf-19.08.1.tar.xz"