mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeedu-cantor/
|
|
# 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/"
|
|
screenshot="https://www.kde.org/images/screenshots/cantor.png"
|
|
arch=('x86_64')
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=('analitza' 'kdelibs4support' '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')
|
|
replaces=('kdeedu-cantor')
|
|
conflicts=('kdeedu-cantor')
|
|
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeedu')
|
|
options=('docs' 'debug')
|
|
install=${pkgname}.install
|
|
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|
|
|