aboutsummaryrefslogblamecommitdiffstats
path: root/community/kfind/APKBUILD
blob: 3ba4dedd0c99ec9781bcfd93cf0d8b2a0b7915d2 (plain) (tree)
1
2
3
4
5
6
7
8


                                                  
              
        

                                      
                                



                                                                                                                                                    
                                                                                         



                                        
                        
                                         

                                             
                           


         
                



                                          
                                                              

 


                                                                                                                                                      
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kfind
pkgver=21.04.1
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="
af5707661791b1abfc8f49e4db5b52efaec9b38508a94fa2aa62c390cd669a517f764ec73418b9877a748312b31699df8114f297cbbcf0f6e3045f1e8763e206  kfind-21.04.1.tar.xz
"