# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kfind pkgver=19.08.3 pkgrel=0 arch="all" 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/applications/$pkgver/src/kfind-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="d78f00640b40f7143299f3aeef9c16eaca30893daab4d5153c6e3fd2683383e79c2c992cfdc0fc1311386757524dc7e7896341d8b2c1869f5e03321b5f66432b kfind-19.08.3.tar.xz"