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

Antonio Rojas arojas at archlinux.org
Sun Sep 20 10:05:35 UTC 2015


    Date: Sunday, September 20, 2015 @ 12:05:35
  Author: arojas
Revision: 247000

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

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

-------------------------------+
 staging-i686/PKGBUILD         |   53 ++++++++++++++++++++++++++++++++++++++++
 staging-i686/cantor.install   |   12 +++++++++
 staging-x86_64/PKGBUILD       |   53 ++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/cantor.install |   12 +++++++++
 4 files changed, 130 insertions(+)

Copied: cantor/repos/staging-i686/PKGBUILD (from rev 246999, cantor/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-20 10:05:35 UTC (rev 247000)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.08.1
+pkgrel=2
+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' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff' 'libqalculate')
+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" python-3.5.patch)
+sha1sums=('bcc5cb39bb9febf51bf70b3e8ebe03e58f1ca692'
+          'd6d04b323e4d301587ebb82e88672c0cee923bc1')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against python 3.5
+  cd $pkgname-$pkgver
+  patch -p1 -i ../python-3.5.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/staging-i686/cantor.install (from rev 246999, cantor/trunk/cantor.install)
===================================================================
--- staging-i686/cantor.install	                        (rev 0)
+++ staging-i686/cantor.install	2015-09-20 10:05:35 UTC (rev 247000)
@@ -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/staging-x86_64/PKGBUILD (from rev 246999, cantor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-20 10:05:35 UTC (rev 247000)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.08.1
+pkgrel=2
+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' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff' 'libqalculate')
+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" python-3.5.patch)
+sha1sums=('bcc5cb39bb9febf51bf70b3e8ebe03e58f1ca692'
+          'd6d04b323e4d301587ebb82e88672c0cee923bc1')
+
+prepare() {
+  mkdir -p build
+
+# Fix build against python 3.5
+  cd $pkgname-$pkgver
+  patch -p1 -i ../python-3.5.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/staging-x86_64/cantor.install (from rev 246999, cantor/trunk/cantor.install)
===================================================================
--- staging-x86_64/cantor.install	                        (rev 0)
+++ staging-x86_64/cantor.install	2015-09-20 10:05:35 UTC (rev 247000)
@@ -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