aboutsummaryrefslogtreecommitdiffstats
path: root/community/kfind/APKBUILD
blob: 0cf4a3811a3bbe9f767f3fd545c2478a8891282e (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
33
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kfind
pkgver=21.04.0
pkgrel=0
# armhf blocked by extra-cmake-modules
# s390x blocked by kio, ktextwidgets
arch="all !armhf !s390x !mips64"
url="https://www.kde.org/applications/utilities/kfind"
pkgdesc="Find Files/Folders"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules karchive-dev kcoreaddons-dev kdoctools-dev kfilemetadata-dev ki18n-dev kio-dev ktextwidgets-dev kwidgetsaddons-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/kfind-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

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="e57e15a07661627f86c661e2cb6655061771e7ef62dd9a486cf6fc1adeeb2d64de99731c04bdd7125d132611bdc7fa0e26ba39aa54e8927f15fcfd3405a3e3ed  kfind-21.04.0.tar.xz"