aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cantor/APKBUILD
blob: ddcbc9237345f12d04550dcaf0fbf04fc7f5f703 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=cantor
pkgver=19.08.2
pkgrel=0
arch="all"
url="https://edu.kde.org/cantor/"
pkgdesc="KDE Frontend to Mathematical Software "
license="GPL-2.0-or-later"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtsvg-dev qt5-qtxmlpatterns-dev kconfig-dev kcrash-dev kcompletion-dev kdoctools-dev knewstuff-dev kiconthemes-dev ktexteditor-dev kcoreaddons-dev karchive-dev kparts-dev syntax-highlighting-dev ktextwidgets-dev kio-dev kxmlgui-dev ki18n-dev poppler-qt5-dev kpty-dev analitza-dev python3-dev discount-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/cantor-$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 xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="f9a089297c288bd4013da68b9388407f990aa20f508b759bd1839a85a714728fe2322daa198c522869285b64c02b84a587f605b4f1e8cc22b9c0aafc3138fd35  cantor-19.08.2.tar.xz"