# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=sweeper pkgver=19.12.3 pkgrel=0 arch="all !armhf" url="https://kde.org/applications/utilities/org.kde.sweeper" pkgdesc="System cleaner to help clean unwanted traces the user leaves on the system" license="LGPL-2.1-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev kactivities-stats-dev kbookmarks-dev kcrash-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdoctools-dev ki18n-dev kio-dev ktextwidgets-dev kxmlgui-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/sweeper-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="e04aaa30aca0a8689e3f6d6895d59bbd131f8e3f5be0877e856ccaceb750e85416470bde53c344559b0cbc467c2a0dcbea0b66d09c8a3159f4a9c76cc7db0f72 sweeper-19.12.3.tar.xz"