[arch-commits] Commit in cantor/repos (6 files)

Antonio Rojas arojas at archlinux.org
Tue Feb 16 08:14:36 UTC 2016


    Date: Tuesday, February 16, 2016 @ 09:14:35
  Author: arojas
Revision: 259430

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cantor/repos/testing-i686/
  cantor/repos/testing-i686/PKGBUILD
    (from rev 259429, cantor/trunk/PKGBUILD)
  cantor/repos/testing-i686/cantor.install
    (from rev 259429, cantor/trunk/cantor.install)
  cantor/repos/testing-x86_64/
  cantor/repos/testing-x86_64/PKGBUILD
    (from rev 259429, cantor/trunk/PKGBUILD)
  cantor/repos/testing-x86_64/cantor.install
    (from rev 259429, cantor/trunk/cantor.install)

-------------------------------+
 testing-i686/PKGBUILD         |   54 ++++++++++++++++++++++++++++++++++++++++
 testing-i686/cantor.install   |   12 ++++++++
 testing-x86_64/PKGBUILD       |   54 ++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/cantor.install |   12 ++++++++
 4 files changed, 132 insertions(+)

Copied: cantor/repos/testing-i686/PKGBUILD (from rev 259429, cantor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-02-16 08:14:35 UTC (rev 259430)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.12.2
+pkgrel=1
+pkgdesc="KDE Frontend to Mathematical Software"
+url="http://kde.org/applications/education/cantor/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('analitza' 'libspectre' 'kpty' 'ktexteditor' 'knewstuff' 'libqalculate' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'python2' 'kdoctools' 'luajit' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend'
+            'luajit: LUA backend'
+            'python: Python 3 backend'
+	    'python2: Python 2 backend'
+            'sagemath: SageMath backend')
+conflicts=('kdeedu-cantor')
+replaces=('kdeedu-cantor')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz"
+	cantor-sagemath.patch::"https://quickgit.kde.org/?p=cantor.git&a=commitdiff&h=6586a6&hp=5da706&o=plain")
+sha1sums=('994daaefc9b2dd3c9bb8455a9b92f45b6c72700f'
+          'd8e8cefbe18e0bbdb9cedc50f1244fccfdd04f7f')
+
+prepare() {
+  mkdir -p build
+
+# Fix sagemath backend http://bugs.kde.org/show_bug.cgi?id=348128
+  cd $pkgname-$pkgver
+  patch -p1 -i ../cantor-sagemath.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+    -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: cantor/repos/testing-i686/cantor.install (from rev 259429, cantor/trunk/cantor.install)
===================================================================
--- testing-i686/cantor.install	                        (rev 0)
+++ testing-i686/cantor.install	2016-02-16 08:14:35 UTC (rev 259430)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: cantor/repos/testing-x86_64/PKGBUILD (from rev 259429, cantor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-02-16 08:14:35 UTC (rev 259430)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.12.2
+pkgrel=1
+pkgdesc="KDE Frontend to Mathematical Software"
+url="http://kde.org/applications/education/cantor/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('analitza' 'libspectre' 'kpty' 'ktexteditor' 'knewstuff' 'libqalculate' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'python' 'python2' 'kdoctools' 'luajit' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend'
+            'luajit: LUA backend'
+            'python: Python 3 backend'
+	    'python2: Python 2 backend'
+            'sagemath: SageMath backend')
+conflicts=('kdeedu-cantor')
+replaces=('kdeedu-cantor')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz"
+	cantor-sagemath.patch::"https://quickgit.kde.org/?p=cantor.git&a=commitdiff&h=6586a6&hp=5da706&o=plain")
+sha1sums=('994daaefc9b2dd3c9bb8455a9b92f45b6c72700f'
+          'd8e8cefbe18e0bbdb9cedc50f1244fccfdd04f7f')
+
+prepare() {
+  mkdir -p build
+
+# Fix sagemath backend http://bugs.kde.org/show_bug.cgi?id=348128
+  cd $pkgname-$pkgver
+  patch -p1 -i ../cantor-sagemath.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+    -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: cantor/repos/testing-x86_64/cantor.install (from rev 259429, cantor/trunk/cantor.install)
===================================================================
--- testing-x86_64/cantor.install	                        (rev 0)
+++ testing-x86_64/cantor.install	2016-02-16 08:14:35 UTC (rev 259430)
@@ -0,0 +1,12 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list