# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kross pkgver=5.108.0 pkgrel=0 pkgdesc="Framework for scripting KDE applications" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev=" kcompletion-dev kcoreaddons-dev ki18n-dev kiconthemes-dev kio-dev kparts-dev kwidgetsaddons-dev kxmlgui-dev qt5-qtbase-dev qt5-qttools-dev " makedepends="$depends_dev extra-cmake-modules kdoctools-dev samurai " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kross-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 577722bb280dfe7084fd70866297cea2a34c9f762fe98744a61e92bcb0ee12e4e5852d79a651f0121180641df4ff6b1ff995a8af71ad5ee361444f8c0aea4bad kross-5.108.0.tar.xz "