[arch-commits] Commit in kdeedu-kalzium/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Fri Apr 10 19:10:08 UTC 2015
Date: Friday, April 10, 2015 @ 21:10:08
Author: arojas
Revision: 236109
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
kdeedu-kalzium/repos/staging-i686/
kdeedu-kalzium/repos/staging-i686/PKGBUILD
(from rev 236108, kdeedu-kalzium/trunk/PKGBUILD)
kdeedu-kalzium/repos/staging-i686/kdeedu-kalzium.install
(from rev 236108, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
kdeedu-kalzium/repos/staging-x86_64/
kdeedu-kalzium/repos/staging-x86_64/PKGBUILD
(from rev 236108, kdeedu-kalzium/trunk/PKGBUILD)
kdeedu-kalzium/repos/staging-x86_64/kdeedu-kalzium.install
(from rev 236108, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
---------------------------------------+
staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-i686/kdeedu-kalzium.install | 12 ++++++++++++
staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
staging-x86_64/kdeedu-kalzium.install | 12 ++++++++++++
4 files changed, 88 insertions(+)
Copied: kdeedu-kalzium/repos/staging-i686/PKGBUILD (from rev 236108, kdeedu-kalzium/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-04-10 19:10:08 UTC (rev 236109)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Periodic Table of Elements"
+url="http://kde.org/applications/education/kalzium/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kdebase-runtime' 'avogadro' 'ocaml' 'chemical-mime-data')
+makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'eigen2' 'facile')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('522c6075f1201bd522744def79e386819242948c')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kalzium-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kalzium/repos/staging-i686/kdeedu-kalzium.install (from rev 236108, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
===================================================================
--- staging-i686/kdeedu-kalzium.install (rev 0)
+++ staging-i686/kdeedu-kalzium.install 2015-04-10 19:10:08 UTC (rev 236109)
@@ -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/staging-x86_64/PKGBUILD (from rev 236108, kdeedu-kalzium/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-04-10 19:10:08 UTC (rev 236109)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=15.04.0
+pkgrel=1
+pkgdesc="Periodic Table of Elements"
+url="http://kde.org/applications/education/kalzium/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('kdebase-runtime' 'avogadro' 'ocaml' 'chemical-mime-data')
+makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'eigen2' 'facile')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('522c6075f1201bd522744def79e386819242948c')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../kalzium-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kdeedu-kalzium/repos/staging-x86_64/kdeedu-kalzium.install (from rev 236108, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
===================================================================
--- staging-x86_64/kdeedu-kalzium.install (rev 0)
+++ staging-x86_64/kdeedu-kalzium.install 2015-04-10 19:10:08 UTC (rev 236109)
@@ -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