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

Antonio Rojas arojas at archlinux.org
Fri Apr 10 19:09:52 UTC 2015


    Date: Friday, April 10, 2015 @ 21:09:52
  Author: arojas
Revision: 236108

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

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

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

Copied: kalgebra/repos/staging-i686/PKGBUILD (from rev 236107, kalgebra/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-10 19:09:52 UTC (rev 236108)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kalgebra
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' '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=('4566f55db3bb81288c9dee22c3ef0925659426fb')
+
+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/staging-i686/kalgebra.install (from rev 236107, kalgebra/trunk/kalgebra.install)
===================================================================
--- staging-i686/kalgebra.install	                        (rev 0)
+++ staging-i686/kalgebra.install	2015-04-10 19:09:52 UTC (rev 236108)
@@ -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/staging-x86_64/PKGBUILD (from rev 236107, kalgebra/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-10 19:09:52 UTC (rev 236108)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kalgebra
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Graph Calculator"
+url="http://kde.org/applications/education/kalgebra/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' '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=('4566f55db3bb81288c9dee22c3ef0925659426fb')
+
+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/staging-x86_64/kalgebra.install (from rev 236107, kalgebra/trunk/kalgebra.install)
===================================================================
--- staging-x86_64/kalgebra.install	                        (rev 0)
+++ staging-x86_64/kalgebra.install	2015-04-10 19:09:52 UTC (rev 236108)
@@ -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