aboutsummaryrefslogtreecommitdiffstats
path: root/community/analitza/APKBUILD
blob: f2a2d9be7d9135611f354f0ff35d1b3cddc772dc (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
43
44
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=analitza
pkgver=21.04.3
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="
d97139f9868e8ad19d8560bcc403fa9a45761581c1f048de113523a157d15b201288bf87c79d634ed408660ceb6f31e0514e1e09c73f5c95e0cda3c659bbe211  analitza-21.04.3.tar.xz
"