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

Andrea Scarpino andrea at archlinux.org
Mon Oct 31 03:51:33 UTC 2011


    Date: Sunday, October 30, 2011 @ 23:51:33
  Author: andrea
Revision: 141529

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

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

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

Copied: kdeedu-cantor/repos/staging-i686/PKGBUILD (from rev 141528, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-10-31 03:51:33 UTC (rev 141529)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.7.3
+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')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/cantor-${pkgver}.tar.bz2")
+sha1sums=('ce6240d44cbf47b3dbfd1dbc03196c916e4394e9')
+
+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/staging-i686/kdeedu-cantor.install (from rev 141528, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-i686/kdeedu-cantor.install	                        (rev 0)
+++ staging-i686/kdeedu-cantor.install	2011-10-31 03:51:33 UTC (rev 141529)
@@ -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/staging-x86_64/PKGBUILD (from rev 141528, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-10-31 03:51:33 UTC (rev 141529)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.7.3
+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')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/cantor-${pkgver}.tar.bz2")
+sha1sums=('ce6240d44cbf47b3dbfd1dbc03196c916e4394e9')
+
+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/staging-x86_64/kdeedu-cantor.install (from rev 141528, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-x86_64/kdeedu-cantor.install	                        (rev 0)
+++ staging-x86_64/kdeedu-cantor.install	2011-10-31 03:51:33 UTC (rev 141529)
@@ -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