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

Felix Yan fyan at archlinux.org
Wed Nov 19 17:38:54 UTC 2014


    Date: Wednesday, November 19, 2014 @ 18:38:54
  Author: fyan
Revision: 226499

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

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

--------------------------------------+
 testing-i686/PKGBUILD                |   38 +++++++++++++++++++++++++++++++++
 testing-i686/kdeedu-cantor.install   |   12 ++++++++++
 testing-x86_64/PKGBUILD              |   38 +++++++++++++++++++++++++++++++++
 testing-x86_64/kdeedu-cantor.install |   12 ++++++++++
 4 files changed, 100 insertions(+)

Copied: kdeedu-cantor/repos/testing-i686/PKGBUILD (from rev 226498, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-11-19 17:38:54 UTC (rev 226499)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.14.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' 'kdeedu-analitza' 'libqalculate')
+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=('e4df7b28c77a094930d695bd5bf15333f2f202f4')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../cantor-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-cantor/repos/testing-i686/kdeedu-cantor.install (from rev 226498, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-i686/kdeedu-cantor.install	                        (rev 0)
+++ testing-i686/kdeedu-cantor.install	2014-11-19 17:38:54 UTC (rev 226499)
@@ -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/testing-x86_64/PKGBUILD (from rev 226498, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-11-19 17:38:54 UTC (rev 226499)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=4.14.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' 'kdeedu-analitza' 'libqalculate')
+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=('e4df7b28c77a094930d695bd5bf15333f2f202f4')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../cantor-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-cantor/repos/testing-x86_64/kdeedu-cantor.install (from rev 226498, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-x86_64/kdeedu-cantor.install	                        (rev 0)
+++ testing-x86_64/kdeedu-cantor.install	2014-11-19 17:38:54 UTC (rev 226499)
@@ -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