# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=filelight pkgver=19.12.2 pkgrel=1 arch="all !armhf" url="https://kde.org/applications/utilities/filelight" pkgdesc="An application to visualize the disk usage on your computer" license="(GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kxmlgui-dev kio-dev ki18n-dev kdoctools-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="339d2a32a27f03a29a81b937aefd82439953935a098b068e588667431bf4509c2e1f3aa147ed9b7ad9810004b44aa75beb7e8713269f50b319d2494ebcfdfa8b filelight-19.12.2.tar.xz"