# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kpackage pkgver=5.61.0 pkgrel=0 pkgdesc="Framework that lets applications manage user installable packages of non-binary assets" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev karchive-dev ki18n-dev kcoreaddons-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev kdoctools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" # Fails due to requiring installed Plasma, which causes a circular dependency 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="59e2357811d8b41b01dcf0fff34b115ae45d8ee9f0e9c9132bf3d906db65173fee41c8ece44443b997ccb6088d36139ac5de3e7ae3201f26e30f00fd318273ee kpackage-5.61.0.tar.xz"