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

Andrea Scarpino andrea at archlinux.org
Sun Mar 4 09:39:08 EST 2012


    Date: Sunday, March 4, 2012 @ 09:39:08
  Author: andrea
Revision: 152064

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

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

--------------------------------------+
 extra-i686/PKGBUILD                  |    2 -
 extra-x86_64/PKGBUILD                |    2 -
 staging-i686/PKGBUILD                |   34 +++++++++++++++++++++++++++++++++
 staging-i686/kdeedu-cantor.install   |   12 +++++++++++
 staging-x86_64/PKGBUILD              |   34 +++++++++++++++++++++++++++++++++
 staging-x86_64/kdeedu-cantor.install |   12 +++++++++++
 6 files changed, 94 insertions(+), 2 deletions(-)

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-04 14:38:42 UTC (rev 152063)
+++ extra-i686/PKGBUILD	2012-03-04 14:39:08 UTC (rev 152064)
@@ -15,7 +15,7 @@
             'octave: Octave backend'
             'r: R backend')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/cantor-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/cantor-${pkgver}.tar.xz")
 sha1sums=('b0ef9cb3c25e4909b6855317425e9d9f12697dff')
 
 build() {

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-03-04 14:38:42 UTC (rev 152063)
+++ extra-x86_64/PKGBUILD	2012-03-04 14:39:08 UTC (rev 152064)
@@ -15,7 +15,7 @@
             'octave: Octave backend'
             'r: R backend')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/cantor-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/cantor-${pkgver}.tar.xz")
 sha1sums=('b0ef9cb3c25e4909b6855317425e9d9f12697dff')
 
 build() {

Copied: kdeedu-cantor/repos/staging-i686/PKGBUILD (from rev 152063, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-04 14:39:08 UTC (rev 152064)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.8.1
+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/xz/cantor-${pkgver}.tar.xz")
+sha1sums=('bc98d41262454de5aee65b124e7f93041ad639af')
+
+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 152063, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-i686/kdeedu-cantor.install	                        (rev 0)
+++ staging-i686/kdeedu-cantor.install	2012-03-04 14:39:08 UTC (rev 152064)
@@ -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 152063, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-04 14:39:08 UTC (rev 152064)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.8.1
+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/xz/cantor-${pkgver}.tar.xz")
+sha1sums=('bc98d41262454de5aee65b124e7f93041ad639af')
+
+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 152063, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-x86_64/kdeedu-cantor.install	                        (rev 0)
+++ staging-x86_64/kdeedu-cantor.install	2012-03-04 14:39:08 UTC (rev 152064)
@@ -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