# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=step pkgver=19.08.2 pkgrel=0 arch="all" url="https://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 kdoctools-dev eigen-dev shared-mime-info" source="https://download.kde.org/stable/applications/$pkgver/src/step-$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 ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="8f2a90ef74bad6a3b73470f0342269da2dc6d53f2ce05a14e13762c02e2ff28f621d821f31fdba9733cb0a7cbe0b3ad099e3c36cdfe2198dd50106eaea63b8a6 step-19.08.2.tar.xz"