2015-04-07 23:09:41 +08:00
|
|
|
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeedu-cantor/
|
2013-12-18 02:36:04 +08:00
|
|
|
# Include global configuration
|
2015-04-04 03:12:01 +08:00
|
|
|
source ../kdeapps.conf
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2015-04-04 03:12:01 +08:00
|
|
|
pkgname=cantor
|
2011-07-23 02:02:15 +08:00
|
|
|
pkgver=${_kdever}
|
2014-07-24 02:28:04 +08:00
|
|
|
pkgrel=1
|
2014-01-13 05:14:23 +08:00
|
|
|
pkgdesc="KDE frontend to mathematical software"
|
2011-07-23 02:02:15 +08:00
|
|
|
url="http://kde.org/applications/education/cantor/"
|
2015-04-11 07:36:27 +08:00
|
|
|
screenshot="https://www.kde.org/images/screenshots/cantor.png"
|
2012-11-18 23:55:21 +08:00
|
|
|
arch=('x86_64')
|
2015-04-04 03:12:01 +08:00
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2015-04-11 07:36:27 +08:00
|
|
|
depends=('analitza' 'kdelibs4support' 'knewstuff' 'kpty' 'ktexteditor' 'libqalculate' 'libspectre')
|
2015-04-04 03:12:01 +08:00
|
|
|
optdepends=('luajit: LUA backend'
|
|
|
|
'maxima: Maxima backend'
|
|
|
|
'octave: Octave backend'
|
|
|
|
'python3: Python 3 backend'
|
|
|
|
'python2: Python 2 backend'
|
|
|
|
'r: R backend'
|
|
|
|
'sage-mathematics: Sage backend')
|
|
|
|
makedepends=('extra-cmake-modules' 'kdoctools' 'luajit' 'python3' 'python2' 'r')
|
|
|
|
replaces=('kdeedu-cantor')
|
|
|
|
conflicts=('kdeedu-cantor')
|
2015-08-11 05:26:57 +08:00
|
|
|
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeedu')
|
2015-05-14 05:17:22 +08:00
|
|
|
options=('docs' 'debug')
|
2011-07-23 02:02:15 +08:00
|
|
|
install=${pkgname}.install
|
2015-04-04 03:12:01 +08:00
|
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2015-04-11 07:36:27 +08:00
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
2012-11-18 23:55:21 +08:00
|
|
|
build() {
|
2015-04-11 07:36:27 +08:00
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
|
|
make
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|
|
|
|
|
2012-11-18 23:55:21 +08:00
|
|
|
package() {
|
2015-08-11 05:26:57 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|
2015-04-11 07:36:27 +08:00
|
|
|
|