aboutsummaryrefslogtreecommitdiffstats
path: root/community/analitza/APKBUILD
blob: 9c3c76f62bc53d74a22bfe7a8709623e8597fb04 (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.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="
978a3b642f9192792f97bf88732c0184c2dcc8ab980fa976a59bb01483d1f8cd3411d0019e33f5b429d1e4af254517220243c51319e53225b0f8dda12cb3d1dd  analitza-21.04.2.tar.xz
"