desktop/kdeedu-cantor/PKGBUILD

42 lines
1.2 KiB
Bash
Raw Normal View History

2015-04-04 03:12:01 +08:00
# Contributions from ArcH:
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
pkgdesc="KDE frontend to mathematical software"
2011-07-23 02:02:15 +08:00
url="http://kde.org/applications/education/cantor/"
arch=('x86_64')
2011-07-23 02:02:15 +08:00
url='http://www.kde.org'
2015-04-04 03:12:01 +08:00
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")
2012-03-06 07:57:58 +08:00
categories=('education')
2015-04-04 03:12:01 +08:00
options=('docs' '!header' 'debug' 'log')
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
build() {
2015-04-04 03:12:01 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
cmake_kf5 ../${pkgname}-${pkgver}
make
2011-07-23 02:02:15 +08:00
}
package() {
2015-04-04 03:12:01 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
2011-07-23 02:02:15 +08:00
}