# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=cantor pkgver=19.12.3 pkgrel=0 arch="all !armhf !mips !mips64" url="https://edu.kde.org/cantor/" pkgdesc="KDE Frontend to Mathematical Software " license="GPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtxmlpatterns-dev kconfig-dev kcrash-dev kcompletion-dev kdoctools-dev knewstuff-dev kiconthemes-dev ktexteditor-dev kcoreaddons-dev karchive-dev kparts-dev syntax-highlighting-dev ktextwidgets-dev kio-dev kxmlgui-dev ki18n-dev poppler-qt5-dev kpty-dev analitza-dev python3-dev discount-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/cantor-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="83324f7a1702b5ed5d74ecab7664b653b8f318b03b6c856c7a70133b2aaf0927cf8b16a8ba9e27a7224d4d8d5900f1dcdbc89e70f40871f000db29f6f072668a cantor-19.12.3.tar.xz"