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

Andrea Scarpino andrea at archlinux.org
Wed Nov 23 03:00:09 EST 2011


    Date: Wednesday, November 23, 2011 @ 03:00:09
  Author: andrea
Revision: 143152

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

Added:
  kdeedu-cantor/repos/staging-i686/
  kdeedu-cantor/repos/staging-i686/PKGBUILD
    (from rev 143151, kdeedu-cantor/trunk/PKGBUILD)
  kdeedu-cantor/repos/staging-i686/kdeedu-cantor.install
    (from rev 143151, kdeedu-cantor/trunk/kdeedu-cantor.install)
  kdeedu-cantor/repos/staging-x86_64/
  kdeedu-cantor/repos/staging-x86_64/PKGBUILD
    (from rev 143151, kdeedu-cantor/trunk/PKGBUILD)
  kdeedu-cantor/repos/staging-x86_64/kdeedu-cantor.install
    (from rev 143151, 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 143151, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-11-23 08:00:09 UTC (rev 143152)
@@ -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/staging-i686/kdeedu-cantor.install (from rev 143151, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-i686/kdeedu-cantor.install	                        (rev 0)
+++ staging-i686/kdeedu-cantor.install	2011-11-23 08:00:09 UTC (rev 143152)
@@ -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 143151, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-11-23 08:00:09 UTC (rev 143152)
@@ -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/staging-x86_64/kdeedu-cantor.install (from rev 143151, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- staging-x86_64/kdeedu-cantor.install	                        (rev 0)
+++ staging-x86_64/kdeedu-cantor.install	2011-11-23 08:00:09 UTC (rev 143152)
@@ -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