aboutsummaryrefslogtreecommitdiffstats
path: root/community/analitza/APKBUILD
blob: d50ccc774da514bafafe4ca3735e8ef00b1e120b (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.1
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="c25797f2d5b4fb2788fba61c442ec64f00bf5266890ebc13c37b3929c43b0e16f7953667681c0af58e0c525861006bb8b918f08d0ec8d40fdf1920f3ffa6bb86  analitza-20.12.1.tar.xz"