aboutsummaryrefslogblamecommitdiffstats
path: root/testing/step/APKBUILD
blob: 9f657425266880d4503d515b8b314111872b227c (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
              
        
          
                               

                                            
                                                                                                                                                                                                    
                                                                                        
                                        
















                                                   
                                                                                                                                                                  
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=step
pkgver=19.12.1
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/release-service/$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="70c127544f816b11db25457a18bdc114275c79c867228c6e1e7749b8e89217df329f67690ce4fd7a3a6c27a0f9d9309276820b17f0f8b1506b48c18bc8f0a2b6  step-19.12.1.tar.xz"