aboutsummaryrefslogtreecommitdiffstats
path: root/community/analitza/APKBUILD
blob: 7c1feef9a7d7bfa7998562e4c25080195985ee15 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=analitza
pkgver=20.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# mips blocked by eigen -> suitesparse -> openblas
# s390x blocked by qt5-qtbase-x11
arch="all !armhf !mips !mips64 !s390x"
url="https://edu.kde.org/"
pkgdesc="A library to add mathematical features to your program"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
	eigen-dev
	extra-cmake-modules
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtsvg-dev
	qt5-qttools-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/analitza-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="d66e4112c184168d600e6f0b98fbda091fb49a8ac3d1858fef447f748b364ef635ff792f31ac5e8c833e40367f7f32432a16b8a1fc44e1e4e0e3a72769b42b29  analitza-20.12.2.tar.xz"