aboutsummaryrefslogtreecommitdiffstats
path: root/community/sweeper/APKBUILD
blob: cd8618587b2088b29718515e3f8426163c6c3759 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sweeper
pkgver=20.12.2
pkgrel=0
# mips, mips64: blocked by rust
arch="all !armhf !s390x !mips !mips64"
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
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="832e3b2548c254e98fb3f822fa77e8194662f1e93a50e83f17ae552f35b5c60996304a899a81100616cfa3794bc2c7364a3e4c41777fbd39c7f89bc1c44a2ade  sweeper-20.12.2.tar.xz"