cantor: preparing for 15.04

parent 91dcc4c6
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributions from ArcH:
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
source ../kdeapps.conf
pkgname=kdeedu-cantor
_pkgname=cantor
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=("kde-runtime>=${_kdever}"
'r'
'libspectre'
"kdeedu-analitza>=${_oldkdever}"
"python2")
makedepends=('cmake'
'automoc4'
'docbook-xsl'
'icu')
provides=('cantor')
groups=("kde"
"kdeedu"
"kde-uninstall")
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')
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`)
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=OFF
cd ${srcdir}/${pkgname}-${pkgver}
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment