# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=sweeper pkgver=19.08.1 pkgrel=0 arch="all" 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/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="50cbfbf028a6cd4c4de8b8e9ff31c6e2ed39f43202cefc1463fe78c381d82d0e9d6f12853fd545d0cbfa1c3ade7c0e37d9da5a0282817c92515a885f27e6a5d1 sweeper-19.08.1.tar.xz"