# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=rkward pkgver=0.7.5 pkgrel=0 # armhf blocked by extra-cmake-modules # s390x, ppc64le and riscv64 blocked by qt5-qtwebengine arch="all !armhf !s390x !ppc64le !riscv64" url="https://rkward.kde.org/" pkgdesc="Easy extensible and easy-to-use IDE/GUI for R" license="GPL-2.0-or-later" depends="R" makedepends=" R-dev extra-cmake-modules kconfig-dev kcoreaddons-dev kdoctools-dev ki18n-dev knotifications-dev kparts-dev ktexteditor-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev qt5-qtbase-dev qt5-qtwebengine-dev samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/rkward/$pkgver/rkward-$pkgver.tar.gz" subpackages="$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 xvfb-run ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 247ee50fbebb9b74a1c03d6ef99dded18a1b3cf18286a6d2afcaa8ff7472cc3cb735db0a876926625aff4674906956f7a0c001a46d0dfd328a93e8c7af9f6c6b rkward-0.7.5.tar.gz "