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

Felix Yan fyan at archlinux.org
Wed Feb 4 04:59:49 UTC 2015


    Date: Wednesday, February 4, 2015 @ 05:59:49
  Author: fyan
Revision: 230490

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

Added:
  kalgebra/repos/testing-i686/
  kalgebra/repos/testing-i686/PKGBUILD
    (from rev 230489, kalgebra/trunk/PKGBUILD)
  kalgebra/repos/testing-i686/kalgebra.install
    (from rev 230489, kalgebra/trunk/kalgebra.install)
  kalgebra/repos/testing-x86_64/
  kalgebra/repos/testing-x86_64/PKGBUILD
    (from rev 230489, kalgebra/trunk/PKGBUILD)
  kalgebra/repos/testing-x86_64/kalgebra.install
    (from rev 230489, kalgebra/trunk/kalgebra.install)

---------------------------------+
 testing-i686/PKGBUILD           |   37 +++++++++++++++++++++++++++++++++++++
 testing-i686/kalgebra.install   |   12 ++++++++++++
 testing-x86_64/PKGBUILD         |   37 +++++++++++++++++++++++++++++++++++++
 testing-x86_64/kalgebra.install |   12 ++++++++++++
 4 files changed, 98 insertions(+)

Copied: kalgebra/repos/testing-i686/PKGBUILD (from rev 230489, kalgebra/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-04 04:59:49 UTC (rev 230490)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kalgebra
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'glu')
+replaces=('kdeedu-kalgebra')
+conflicts=('kdeedu-kalgebra' 'kdeedu-analitza')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kalgebra-${pkgver}.tar.xz")
+sha1sums=('b33643332848fc1a77f9750cf2a4974a77ee5f28')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kalgebra-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kalgebra/repos/testing-i686/kalgebra.install (from rev 230489, kalgebra/trunk/kalgebra.install)
===================================================================
--- testing-i686/kalgebra.install	                        (rev 0)
+++ testing-i686/kalgebra.install	2015-02-04 04:59:49 UTC (rev 230490)
@@ -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: kalgebra/repos/testing-x86_64/PKGBUILD (from rev 230489, kalgebra/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-04 04:59:49 UTC (rev 230490)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kalgebra
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('analitza' 'kio' 'qt5-webkit' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'glu')
+replaces=('kdeedu-kalgebra')
+conflicts=('kdeedu-kalgebra' 'kdeedu-analitza')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kalgebra-${pkgver}.tar.xz")
+sha1sums=('b33643332848fc1a77f9750cf2a4974a77ee5f28')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../kalgebra-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kalgebra/repos/testing-x86_64/kalgebra.install (from rev 230489, kalgebra/trunk/kalgebra.install)
===================================================================
--- testing-x86_64/kalgebra.install	                        (rev 0)
+++ testing-x86_64/kalgebra.install	2015-02-04 04:59:49 UTC (rev 230490)
@@ -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