blob: 8963195fe7085018210d255c30ef8810e985b1b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=step
pkgver=19.08.1
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="aca5492c5f6a56acfe20ce09d3ba0e469fe2bb53def0ae5c5645891699fe589cdf85340615a2dc2a5ed58ecfb7353b10f05d7dcb7fe1d97cf756f9c98bcc8da0 step-19.08.1.tar.xz"
|