# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=cantor pkgver=19.08.1 pkgrel=1 arch="all" 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/applications/$pkgver/src/cantor-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="b2f789905133880de99039cdae81698ed869860167f644c6898dd5e483eb0c4a479b6f5b3c5d2b6bfaddf30a4434224fdf517eaeb8aa77949e192c35b769f8ef cantor-19.08.1.tar.xz"