# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kinit pkgver=5.62.0 pkgrel=0 pkgdesc="Process launcher to speed up launching KDE applications" arch="all" 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 \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="1757c50b4623cd3dae1a9def0333e4192a6695a6e0efdcaf4ab25116dcc6cec8f69c48c3d3646200eebc7a3b793b7a2b708e43a35b36db14b4eb475ac50383f4 kinit-5.62.0.tar.xz"