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

Andrea Scarpino andrea at archlinux.org
Sat Mar 31 03:38:12 EDT 2012


    Date: Saturday, March 31, 2012 @ 03:38:12
  Author: andrea
Revision: 154868

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

Added:
  kdeedu-cantor/repos/staging-i686/
  kdeedu-cantor/repos/staging-i686/PKGBUILD
    (from rev 154867, kdeedu-cantor/trunk/PKGBUILD)
  kdeedu-cantor/repos/staging-i686/kdeedu-cantor.install
    (from rev 154867, kdeedu-cantor/trunk/kdeedu-cantor.install)
  kdeedu-cantor/repos/staging-x86_64/
  kdeedu-cantor/repos/staging-x86_64/PKGBUILD
    (from rev 154867, kdeedu-cantor/trunk/PKGBUILD)
  kdeedu-cantor/repos/staging-x86_64/kdeedu-cantor.install
    (from rev 154867, 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 154867, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-31 07:38:12 UTC (rev 154868)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.8.2
+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/stable/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('53a13c3594ea82b87a421e96b408355eea76fa89')
+
+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 154867, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-i686/kdeedu-cantor.install	                        (rev 0)
+++ staging-i686/kdeedu-cantor.install	2012-03-31 07:38:12 UTC (rev 154868)
@@ -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 154867, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-31 07:38:12 UTC (rev 154868)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.8.2
+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/stable/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('53a13c3594ea82b87a421e96b408355eea76fa89')
+
+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 154867, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-x86_64/kdeedu-cantor.install	                        (rev 0)
+++ staging-x86_64/kdeedu-cantor.install	2012-03-31 07:38:12 UTC (rev 154868)
@@ -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