archrelease: copy trunk to extra-x86_64
[arch-packages.git] / cantor / repos / extra-x86_64 / PKGBUILD
blobc5a2c731c337a77f44ae7fe81ec031b9ac50af57
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=cantor
6 pkgver=23.04.1
7 pkgrel=1
8 pkgdesc='KDE Frontend to Mathematical Software'
9 url='https://apps.kde.org/cantor/'
10 arch=(x86_64)
11 license=(GPL LGPL FDL)
12 groups=(kde-applications kde-education)
13 depends=(analitza libspectre kpty ktexteditor knewstuff libqalculate qt5-xmlpatterns qt5-tools qt5-webengine poppler-qt5)
14 makedepends=(extra-cmake-modules python kdoctools luajit r julia)
15 optdepends=('maxima: Maxima backend'
16             'octave: Octave backend'
17             'r: R backend'
18             'luajit: LUA backend'
19             'python: Python backend'
20             'sagemath: SageMath backend'
21             'julia: Julia backend')
22 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
23 sha256sums=('c3400b7c99a3a48545d8aac12b6c1fd7788c79d99512cfa422d750cf2115ec54'
24             'SKIP')
25 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
26               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
27               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
29 build() {
30   cmake -B build -S $pkgname-$pkgver \
31     -DBUILD_TESTING=OFF
32   cmake --build build
35 package() {
36   DESTDIR="$pkgdir" cmake --install build