Date: Sunday, November 17, 2019 @ 23:55:29 Author: arojas Revision: 369077
archrelease: copy kde-unstable to kde-unstable-x86_64 Added: cantor/repos/kde-unstable-x86_64/ cantor/repos/kde-unstable-x86_64/PKGBUILD (from rev 369076, cantor/kde-unstable/PKGBUILD) ----------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) Copied: cantor/repos/kde-unstable-x86_64/PKGBUILD (from rev 369076, cantor/kde-unstable/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2019-11-17 23:55:29 UTC (rev 369077) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=cantor +pkgver=19.11.80 +pkgrel=1 +pkgdesc="KDE Frontend to Mathematical Software" +url="https://kde.org/applications/education/cantor/" +arch=(x86_64) +license=(GPL LGPL FDL) +groups=(kde-applications kdeedu) +depends=(analitza libspectre kpty ktexteditor knewstuff libqalculate hicolor-icon-theme qt5-xmlpatterns poppler-qt5) +makedepends=(extra-cmake-modules python python2 kdoctools luajit r julia) +optdepends=('maxima: Maxima backend' + 'octave: Octave backend' + 'r: R backend' + 'luajit: LUA backend' + 'python: Python 3 backend' + 'python2: Python 2 backend' + 'sagemath: SageMath backend' + 'julia: Julia backend') +source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('f0143ef89e0b653314b07df3c41267ce92cc0cffa809cafbf650775d78d6f70b' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DBUILD_TESTING=OFF \ + -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \ + -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}