[arch-commits] Commit in kdeedu-kalzium/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Thu May 3 15:01:49 UTC 2012
Date: Thursday, May 3, 2012 @ 11:01:48
Author: andrea
Revision: 158267
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdeedu-kalzium/repos/staging-i686/
kdeedu-kalzium/repos/staging-i686/PKGBUILD
(from rev 158266, kdeedu-kalzium/trunk/PKGBUILD)
kdeedu-kalzium/repos/staging-i686/kdeedu-kalzium.install
(from rev 158266, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
kdeedu-kalzium/repos/staging-x86_64/
kdeedu-kalzium/repos/staging-x86_64/PKGBUILD
(from rev 158266, kdeedu-kalzium/trunk/PKGBUILD)
kdeedu-kalzium/repos/staging-x86_64/kdeedu-kalzium.install
(from rev 158266, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
---------------------------------------+
staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
staging-i686/kdeedu-kalzium.install | 11 +++++++++++
staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
staging-x86_64/kdeedu-kalzium.install | 11 +++++++++++
4 files changed, 84 insertions(+)
Copied: kdeedu-kalzium/repos/staging-i686/PKGBUILD (from rev 158266, kdeedu-kalzium/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2012-05-03 15:01:48 UTC (rev 158267)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=4.8.3
+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/stable/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('33629c565b82c755af0b73746c675ac44c234028')
+
+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/staging-i686/kdeedu-kalzium.install (from rev 158266, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
===================================================================
--- staging-i686/kdeedu-kalzium.install (rev 0)
+++ staging-i686/kdeedu-kalzium.install 2012-05-03 15:01:48 UTC (rev 158267)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdeedu-kalzium/repos/staging-x86_64/PKGBUILD (from rev 158266, kdeedu-kalzium/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2012-05-03 15:01:48 UTC (rev 158267)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=4.8.3
+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/stable/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('33629c565b82c755af0b73746c675ac44c234028')
+
+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/staging-x86_64/kdeedu-kalzium.install (from rev 158266, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
===================================================================
--- staging-x86_64/kdeedu-kalzium.install (rev 0)
+++ staging-x86_64/kdeedu-kalzium.install 2012-05-03 15:01:48 UTC (rev 158267)
@@ -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