mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/cantor to 20.04.2-1
This commit is contained in:
parent
b5a6800468
commit
5a269290af
1 changed files with 6 additions and 15 deletions
|
@ -6,13 +6,13 @@
|
|||
# - drop julia make/optdepends, doesn't build on ARM
|
||||
|
||||
pkgname=cantor
|
||||
pkgver=20.04.1
|
||||
pkgver=20.04.2
|
||||
pkgrel=1
|
||||
pkgdesc="KDE Frontend to Mathematical Software"
|
||||
url="https://kde.org/applications/education/cantor/"
|
||||
arch=(x86_64)
|
||||
license=(GPL LGPL FDL)
|
||||
groups=(kde-applications kdeedu)
|
||||
groups=(kde-applications kde-education)
|
||||
depends=(analitza libspectre kpty ktexteditor knewstuff libqalculate hicolor-icon-theme qt5-xmlpatterns poppler-qt5)
|
||||
makedepends=(extra-cmake-modules python kdoctools luajit r)
|
||||
optdepends=('maxima: Maxima backend'
|
||||
|
@ -23,26 +23,17 @@ optdepends=('maxima: Maxima backend'
|
|||
'sagemath: SageMath backend'
|
||||
'julia: Julia backend')
|
||||
source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
|
||||
sha256sums=('6066b18b6c2feb8a14bab3a5ca844ef636d3a46ec8a6a7fc5c726f19542033be'
|
||||
sha256sums=('1cc909a968b16f942ef48a4e74baac99aadc21cbf26cc0f885729aabae16ceea'
|
||||
'SKIP')
|
||||
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
|
||||
F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
|
||||
cd $pkgname-$pkgver
|
||||
# patch -p1 -i ../cantor-no-python2.patch # Fix build without python 2
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../$pkgname-$pkgver \
|
||||
cmake -B build -S $pkgname-$pkgver \
|
||||
-DBUILD_TESTING=OFF
|
||||
make
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="$pkgdir" install
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue