# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=step pkgver=19.08.0 pkgrel=0 arch="all" url="http://edu.kde.org/step/" pkgdesc="Interactive Physics Simulator" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev kcrash-dev khtml-dev kconfig-dev kiconthemes-dev knewstuff-dev kplotting-dev eigen-dev" source="https://download.kde.org/stable/applications/$pkgver/src/step-$pkgver.tar.xz" subpackages="$pkgname-lang" 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="f3a7f13117cd99b843b9ef99dc38a50baa50a3757319b74e804688c31abdbe6bc6251afae39d73d4af67b8d82dcda2df42f3c8fa91e5d20e8860fa0430710bff step-19.08.0.tar.xz"