# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kalgebra pkgver=19.08.1 pkgrel=1 arch="all" url="https://edu.kde.org/kalgebra/" pkgdesc="2D and 3D Graph Calculator" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtdeclarative-dev analitza-dev ki18n-dev kcoreaddons-dev kconfigwidgets-dev kwidgetsaddons-dev kio-dev kdoctools-dev ncurses-dev readline-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="381256c3ee3b774d0e2ada3c08ad97174c64e58b56e31b212ce4bcc943be83565edc3310435b2a21c438b424a4295ec4d0af651218c54f054efc18751ae1e0f1 kalgebra-19.08.1.tar.xz"