# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kalgebra pkgver=19.08.0 pkgrel=0 arch="all" url="http://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="3d5c5ecb8746378333537eca96d6cf409cfecc35fcb71cd6ffbca2bc489e196f28a9a153590b1111c4928084660120c374242ee3020c0b58071dbceb241c3188 kalgebra-19.08.0.tar.xz"