mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Contributions from ArcH:
|
|
# Include global configuration
|
|
source ../kdeapps.conf
|
|
|
|
pkgname=cantor
|
|
pkgver=${_kdever}
|
|
pkgrel=1
|
|
pkgdesc="KDE frontend to mathematical software"
|
|
url="http://kde.org/applications/education/cantor/"
|
|
arch=('x86_64')
|
|
url='http://www.kde.org'
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=('analitza' 'kdelibs4-support' 'knewstuff' 'kpty' 'ktexteditor' 'libqalculate' 'libspectre')
|
|
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')
|
|
provides=('kdeedu-cantor')
|
|
replaces=('kdeedu-cantor')
|
|
conflicts=('kdeedu-cantor')
|
|
groups=("kde" "kdeedu" "kde-uninstall")
|
|
categories=('education')
|
|
options=('docs' '!header' 'debug' 'log')
|
|
install=${pkgname}.install
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
make DESTDIR=${pkgdir} install
|
|
}
|