extra/cantor to 17.12.0-1

This commit is contained in:
Kevin Mihelich 2017-12-17 14:34:00 +00:00
parent 4a8c27c3bf
commit a0ab7ba785

View file

@ -7,11 +7,11 @@
# - drop julia make/optdepends, doesn't build on ARM
pkgname=cantor
pkgver=17.08.3
pkgrel=2
pkgver=17.12.0
pkgrel=1
pkgdesc="KDE Frontend to Mathematical Software"
url="https://kde.org/applications/education/cantor/"
arch=(i686 x86_64)
arch=(x86_64)
license=(GPL LGPL FDL)
groups=(kde-applications kdeedu)
depends=(analitza libspectre kpty ktexteditor knewstuff libqalculate hicolor-icon-theme)
@ -24,7 +24,7 @@ optdepends=('maxima: Maxima backend'
'python2: Python 2 backend'
'sagemath: SageMath backend')
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} cantor-julia-0.6.patch)
sha256sums=('3c59c8ac854930d19ec2345853cf613904d43df491e8efc44cb9d0cf3b0de77b'
sha256sums=('9c660078eb3ee3d6b9e7cb49ea55fbb815eebf4089357267bf92199864d8f783'
'SKIP'
'0d57a2edd7eb2c156ff0dee6c67b6e5679d68f55f2426e77c92f25c2ec3b1f61')
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
@ -40,12 +40,6 @@ prepare() {
build() {
cd build
if [[ $CARCH == 'i686' ]]; then
export CFLAGS+=" -march=pentium4"
export CXXFLAGS+=" -march=pentium4"
fi
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \