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

Felix Yan fyan at archlinux.org
Wed Mar 4 10:51:05 UTC 2015


    Date: Wednesday, March 4, 2015 @ 11:51:04
  Author: fyan
Revision: 232603

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

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

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

Copied: kdeedu-cantor/repos/testing-i686/PKGBUILD (from rev 232602, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-04 10:51:04 UTC (rev 232603)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=14.12.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' 'libqalculate')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('fca0d3c299147a2daa823d673645f664ee9356b3')
+
+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 232602, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-i686/kdeedu-cantor.install	                        (rev 0)
+++ testing-i686/kdeedu-cantor.install	2015-03-04 10:51:04 UTC (rev 232603)
@@ -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 232602, kdeedu-cantor/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-04 10:51:04 UTC (rev 232603)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-cantor
+pkgver=14.12.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' 'libqalculate')
+makedepends=('cmake' 'automoc4' 'r')
+optdepends=('maxima: Maxima backend'
+            'octave: Octave backend'
+            'r: R backend')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz")
+sha1sums=('fca0d3c299147a2daa823d673645f664ee9356b3')
+
+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 232602, kdeedu-cantor/trunk/kdeedu-cantor.install)
===================================================================
--- testing-x86_64/kdeedu-cantor.install	                        (rev 0)
+++ testing-x86_64/kdeedu-cantor.install	2015-03-04 10:51:04 UTC (rev 232603)
@@ -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