aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kdf/APKBUILD
blob: 2551465bbb3ded3de1b011aaa6ac6b6b9c5dd717 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdf
pkgver=19.04.3
pkgrel=0
arch="all"
url="https://kde.org/applications/system/kdiskfree/"
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="45a4f51677abaf105166129196c8369a2bf91d1b27d2321d959f23c9b97d2c8a888bfd252e7c839311af32508d0b6549bc326a1bd3b08ec924db751f87abe996  kdf-19.04.3.tar.xz"