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

Antonio Rojas arojas at archlinux.org
Wed Jul 29 07:33:55 UTC 2015


    Date: Wednesday, July 29, 2015 @ 09:33:55
  Author: arojas
Revision: 242674

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  cantor/repos/kde-unstable-i686/
  cantor/repos/kde-unstable-i686/PKGBUILD
    (from rev 242673, cantor/kde-unstable/PKGBUILD)
  cantor/repos/kde-unstable-i686/cantor.install
    (from rev 242673, cantor/kde-unstable/cantor.install)
  cantor/repos/kde-unstable-x86_64/
  cantor/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 242673, cantor/kde-unstable/PKGBUILD)
  cantor/repos/kde-unstable-x86_64/cantor.install
    (from rev 242673, cantor/kde-unstable/cantor.install)

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

Copied: cantor/repos/kde-unstable-i686/PKGBUILD (from rev 242673, cantor/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-07-29 07:33:55 UTC (rev 242674)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.07.80
+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' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff') # libqalculate https://bugs.kde.org/show_bug.cgi?id=350729
+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/unstable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('4454de83a7542efecc009aa6b16d09d008bf86cc')
+
+prepare() {
+  mkdir -p build
+}
+
+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 "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: cantor/repos/kde-unstable-i686/cantor.install (from rev 242673, cantor/kde-unstable/cantor.install)
===================================================================
--- kde-unstable-i686/cantor.install	                        (rev 0)
+++ kde-unstable-i686/cantor.install	2015-07-29 07:33:55 UTC (rev 242674)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 242673, cantor/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-07-29 07:33:55 UTC (rev 242674)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=cantor
+pkgver=15.07.80
+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' 'kdelibs4support' 'kpty' 'ktexteditor' 'knewstuff') # libqalculate https://bugs.kde.org/show_bug.cgi?id=350729
+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/unstable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('4454de83a7542efecc009aa6b16d09d008bf86cc')
+
+prepare() {
+  mkdir -p build
+}
+
+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 "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: cantor/repos/kde-unstable-x86_64/cantor.install (from rev 242673, cantor/kde-unstable/cantor.install)
===================================================================
--- kde-unstable-x86_64/cantor.install	                        (rev 0)
+++ kde-unstable-x86_64/cantor.install	2015-07-29 07:33:55 UTC (rev 242674)
@@ -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