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

Andrea Scarpino andrea at archlinux.org
Wed Nov 21 18:47:29 UTC 2012


    Date: Wednesday, November 21, 2012 @ 13:47:29
  Author: andrea
Revision: 171758

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdeedu-kalzium/repos/kde-unstable-i686/
  kdeedu-kalzium/repos/kde-unstable-i686/PKGBUILD
    (from rev 171757, kdeedu-kalzium/kde-unstable/PKGBUILD)
  kdeedu-kalzium/repos/kde-unstable-i686/kdeedu-kalzium.install
    (from rev 171757, kdeedu-kalzium/kde-unstable/kdeedu-kalzium.install)
  kdeedu-kalzium/repos/kde-unstable-x86_64/
  kdeedu-kalzium/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 171757, kdeedu-kalzium/kde-unstable/PKGBUILD)
  kdeedu-kalzium/repos/kde-unstable-x86_64/kdeedu-kalzium.install
    (from rev 171757, kdeedu-kalzium/kde-unstable/kdeedu-kalzium.install)

--------------------------------------------+
 kde-unstable-i686/PKGBUILD                 |   30 +++++++++++++++++++++++++++
 kde-unstable-i686/kdeedu-kalzium.install   |   12 ++++++++++
 kde-unstable-x86_64/PKGBUILD               |   30 +++++++++++++++++++++++++++
 kde-unstable-x86_64/kdeedu-kalzium.install |   12 ++++++++++
 4 files changed, 84 insertions(+)

Copied: kdeedu-kalzium/repos/kde-unstable-i686/PKGBUILD (from rev 171757, kdeedu-kalzium/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2012-11-21 18:47:29 UTC (rev 171758)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=4.9.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=('kdebase-runtime' 'avogadro' 'ocaml' 'facile' 'chemical-mime-data')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('2902940de1dc5d33b846aeb82064d51adc286da4')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kalzium-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kalzium/repos/kde-unstable-i686/kdeedu-kalzium.install (from rev 171757, kdeedu-kalzium/kde-unstable/kdeedu-kalzium.install)
===================================================================
--- kde-unstable-i686/kdeedu-kalzium.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-kalzium.install	2012-11-21 18:47:29 UTC (rev 171758)
@@ -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-kalzium/repos/kde-unstable-x86_64/PKGBUILD (from rev 171757, kdeedu-kalzium/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2012-11-21 18:47:29 UTC (rev 171758)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=4.9.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=('kdebase-runtime' 'avogadro' 'ocaml' 'facile' 'chemical-mime-data')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('2902940de1dc5d33b846aeb82064d51adc286da4')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kalzium-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kalzium/repos/kde-unstable-x86_64/kdeedu-kalzium.install (from rev 171757, kdeedu-kalzium/kde-unstable/kdeedu-kalzium.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-kalzium.install	                        (rev 0)
+++ kde-unstable-x86_64/kdeedu-kalzium.install	2012-11-21 18:47:29 UTC (rev 171758)
@@ -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