# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kpackage pkgver=5.62.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%.*}/kpackage-$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="947bcc51814b0d152a82071d98c7f393930a185e09368ebaace3b5788ea26d8fed0ef27b1983b662f7c942aac6f8711b75f9c3172b1bfb4c6433df4e56df4815 kpackage-5.62.0.tar.xz"