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

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:14:44 EST 2011


    Date: Thursday, November 24, 2011 @ 11:14:43
  Author: andrea
Revision: 143349

db-move: moved kdeedu-cantor from [staging] to [kde-unstable] (i686)

Added:
  kdeedu-cantor/repos/kde-unstable-i686/
  kdeedu-cantor/repos/kde-unstable-i686/PKGBUILD
    (from rev 143277, kdeedu-cantor/repos/staging-i686/PKGBUILD)
  kdeedu-cantor/repos/kde-unstable-i686/kdeedu-cantor.install
    (from rev 143277, kdeedu-cantor/repos/staging-i686/kdeedu-cantor.install)
Deleted:
  kdeedu-cantor/repos/staging-i686/

-----------------------+
 PKGBUILD              |   34 ++++++++++++++++++++++++++++++++++
 kdeedu-cantor.install |   12 ++++++++++++
 2 files changed, 46 insertions(+)

Copied: kdeedu-cantor/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdeedu-cantor/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2011-11-24 16:14:43 UTC (rev 143349)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.7.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')
+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.bz2")
+sha1sums=('7ea3094de5323b51f8f8aa1c559b1cbb8c5fbea4')
+
+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 143277, kdeedu-cantor/repos/staging-i686/kdeedu-cantor.install)
===================================================================
--- kde-unstable-i686/kdeedu-cantor.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-cantor.install	2011-11-24 16:14:43 UTC (rev 143349)
@@ -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