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

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:09:35 UTC 2015


    Date: Friday, April 10, 2015 @ 21:09:35
  Author: arojas
Revision: 236107

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

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

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

Copied: cantor/repos/staging-i686/PKGBUILD (from rev 236106, cantor/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:09:35 UTC (rev 236107)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.04.0
+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' 'libqalculate' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff')
+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'
+            'sage-mathematics: Sage backend')
+conflicts=('kdeedu-cantor')
+replaces=('kdeedu-cantor')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('22e95c16e5a5d624b41b80024d213fdcb9898a69')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../cantor-${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 "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: cantor/repos/staging-i686/cantor.install (from rev 236106, cantor/trunk/cantor.install)
===================================================================
--- staging-i686/cantor.install	                        (rev 0)
+++ staging-i686/cantor.install	2015-04-10 19:09:35 UTC (rev 236107)
@@ -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 236106, cantor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:09:35 UTC (rev 236107)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.04.0
+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' 'libqalculate' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff')
+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'
+            'sage-mathematics: Sage backend')
+conflicts=('kdeedu-cantor')
+replaces=('kdeedu-cantor')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('22e95c16e5a5d624b41b80024d213fdcb9898a69')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../cantor-${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 "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: cantor/repos/staging-x86_64/cantor.install (from rev 236106, cantor/trunk/cantor.install)
===================================================================
--- staging-x86_64/cantor.install	                        (rev 0)
+++ staging-x86_64/cantor.install	2015-04-10 19:09:35 UTC (rev 236107)
@@ -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