aboutsummaryrefslogblamecommitdiffstats
path: root/community/kinit/APKBUILD
blob: b630c02ea749639383ee057d399969938d0edaab (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                  
             
        
                                                                 
                                                                                                           



                                                                                                               
                                                                                     


                                                     
                        
                                         


                                             
                           


         
                



                                          
                                                              
 
                                                                                                                                                                  
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kinit
pkgver=5.79.0
pkgrel=0
pkgdesc="Process launcher to speed up launching KDE applications"
arch="all !armhf !mips64 !s390x" # armhf blocked by extra-cmake-modules and mips64, s390x blocked by polkit
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only OR LGPL-3.0-only"
depends_dev="qt5-qtbase-dev libcap-dev kservice-dev kio-dev ki18n-dev kwindowsystem-dev kcrash-dev kconfig-dev"
makedepends="$depends_dev extra-cmake-modules kdoctools-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kinit-$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 ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="050eab93a8d029f96da6495548cf482dbeb0c704211337b6c0d0b0d68c7b8614151aed671d59e26924b99da755b4daa22819f84de0b70ec02cae9500b50ef1d2  kinit-5.79.0.tar.xz"