# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=analitza pkgver=20.08.2 pkgrel=0 # armhf blocked by qt5-qtdeclarative # mips blocked by eigen -> suitesparse -> openblas arch="all !armhf !mips !mips64" url="https://edu.kde.org/" pkgdesc="A library to add mathematical features to your program" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qttools-dev eigen-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/analitza-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -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 --build build --target install } sha512sums="d419446458b293dda2abacfa2fd793ab7e813638b592e5b7bd2db35eecd8709b6bc367e422f3625e37d1552c179a7a6c3afe318fc45b67f1792b30e648254f01 analitza-20.08.2.tar.xz"