[arch-commits] Commit in kdeedu-kalzium/repos (4 files)

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:14:49 EST 2011


    Date: Thursday, November 24, 2011 @ 11:14:48
  Author: andrea
Revision: 143353

db-move: moved kdeedu-kalzium from [staging] to [kde-unstable] (i686)

Added:
  kdeedu-kalzium/repos/kde-unstable-i686/
  kdeedu-kalzium/repos/kde-unstable-i686/PKGBUILD
    (from rev 143277, kdeedu-kalzium/repos/staging-i686/PKGBUILD)
  kdeedu-kalzium/repos/kde-unstable-i686/kdeedu-kalzium.install
    (from rev 143277, kdeedu-kalzium/repos/staging-i686/kdeedu-kalzium.install)
Deleted:
  kdeedu-kalzium/repos/staging-i686/

------------------------+
 PKGBUILD               |   31 +++++++++++++++++++++++++++++++
 kdeedu-kalzium.install |   11 +++++++++++
 2 files changed, 42 insertions(+)

Copied: kdeedu-kalzium/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdeedu-kalzium/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2011-11-24 16:14:48 UTC (rev 143353)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="Periodic Table of Elements"
+url="http://kde.org/applications/education/kalzium/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdelibs' 'avogadro' 'ocaml' 'facile')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kalzium-${pkgver}.tar.bz2")
+sha1sums=('d6dbca03628ed96a256c3c603fae220a97d6fec3')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kalzium-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kalzium/repos/kde-unstable-i686/kdeedu-kalzium.install (from rev 143277, kdeedu-kalzium/repos/staging-i686/kdeedu-kalzium.install)
===================================================================
--- kde-unstable-i686/kdeedu-kalzium.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-kalzium.install	2011-11-24 16:14:48 UTC (rev 143353)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list