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


                                                  

             
                                             
                                                        

                                          








                           
                       
                                                                                           


                                                     
                        
                                         


                                             
                           


         
                
                                                   


           
                                               
 
                                                                                                                                                                        
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kcompletion
pkgver=5.79.0
pkgrel=0
pkgdesc="Text completion helpers and widgets"
arch="all !armhf" # armhf blocked by extra-cmake-modules
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="
	kconfig-dev
	kwidgetsaddons-dev
	"
makedepends="$depends_dev
	doxygen
	extra-cmake-modules
	qt5-qttools-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcompletion-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_QCH=ON
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="bcea7a8269f374cd813b31fb3b64c1e9af6b72e835bede02c68ce002731df7a6347c10f6df15b56d5c447f89f386888b8c31a48d9f66e14967d7fbcd0e7f1097  kcompletion-5.79.0.tar.xz"