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

Andrea Scarpino andrea at archlinux.org
Wed Nov 21 18:46:19 UTC 2012


    Date: Wednesday, November 21, 2012 @ 13:46:19
  Author: andrea
Revision: 171756

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

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

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

Copied: kdeedu-cantor/repos/kde-unstable-i686/PKGBUILD (from rev 171755, kdeedu-cantor/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2012-11-21 18:46:19 UTC (rev 171756)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.9.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' 'kdeedu')
+depends=('kdebase-runtime' 'libspectre' 'kdeedu-analitza' 'libqalculate')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('5bd9d025f83baa2425cf8d722edfd18a6630796d')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../cantor-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-cantor/repos/kde-unstable-i686/kdeedu-cantor.install (from rev 171755, kdeedu-cantor/kde-unstable/kdeedu-cantor.install)
===================================================================
--- kde-unstable-i686/kdeedu-cantor.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-cantor.install	2012-11-21 18:46:19 UTC (rev 171756)
@@ -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: kdeedu-cantor/repos/kde-unstable-x86_64/PKGBUILD (from rev 171755, kdeedu-cantor/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2012-11-21 18:46:19 UTC (rev 171756)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.9.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' 'kdeedu')
+depends=('kdebase-runtime' 'libspectre' 'kdeedu-analitza' 'libqalculate')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('5bd9d025f83baa2425cf8d722edfd18a6630796d')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../cantor-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-cantor/repos/kde-unstable-x86_64/kdeedu-cantor.install (from rev 171755, kdeedu-cantor/kde-unstable/kdeedu-cantor.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-cantor.install	                        (rev 0)
+++ kde-unstable-x86_64/kdeedu-cantor.install	2012-11-21 18:46:19 UTC (rev 171756)
@@ -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