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

Felix Yan fyan at archlinux.org
Wed Mar 4 10:56:31 UTC 2015


    Date: Wednesday, March 4, 2015 @ 11:56:31
  Author: fyan
Revision: 232611

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

Added:
  kdeedu-kalzium/repos/testing-i686/
  kdeedu-kalzium/repos/testing-i686/PKGBUILD
    (from rev 232610, kdeedu-kalzium/trunk/PKGBUILD)
  kdeedu-kalzium/repos/testing-i686/kdeedu-kalzium.install
    (from rev 232610, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
  kdeedu-kalzium/repos/testing-x86_64/
  kdeedu-kalzium/repos/testing-x86_64/PKGBUILD
    (from rev 232610, kdeedu-kalzium/trunk/PKGBUILD)
  kdeedu-kalzium/repos/testing-x86_64/kdeedu-kalzium.install
    (from rev 232610, kdeedu-kalzium/trunk/kdeedu-kalzium.install)

---------------------------------------+
 testing-i686/PKGBUILD                 |   32 ++++++++++++++++++++++++++++++++
 testing-i686/kdeedu-kalzium.install   |   12 ++++++++++++
 testing-x86_64/PKGBUILD               |   32 ++++++++++++++++++++++++++++++++
 testing-x86_64/kdeedu-kalzium.install |   12 ++++++++++++
 4 files changed, 88 insertions(+)

Copied: kdeedu-kalzium/repos/testing-i686/PKGBUILD (from rev 232610, kdeedu-kalzium/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-03-04 10:56:31 UTC (rev 232611)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=14.12.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=('kdebase-runtime' 'avogadro' 'ocaml' 'chemical-mime-data')
+makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'eigen2')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('819751a1f99b42cbaf69d3eb22260dde5f6379b9')
+
+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/testing-i686/kdeedu-kalzium.install (from rev 232610, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
===================================================================
--- testing-i686/kdeedu-kalzium.install	                        (rev 0)
+++ testing-i686/kdeedu-kalzium.install	2015-03-04 10:56:31 UTC (rev 232611)
@@ -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/testing-x86_64/PKGBUILD (from rev 232610, kdeedu-kalzium/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-03-04 10:56:31 UTC (rev 232611)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kalzium
+pkgver=14.12.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=('kdebase-runtime' 'avogadro' 'ocaml' 'chemical-mime-data')
+makedepends=('cmake' 'automoc4' 'mesa' 'eigen' 'eigen2')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kalzium-${pkgver}.tar.xz")
+sha1sums=('819751a1f99b42cbaf69d3eb22260dde5f6379b9')
+
+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/testing-x86_64/kdeedu-kalzium.install (from rev 232610, kdeedu-kalzium/trunk/kdeedu-kalzium.install)
===================================================================
--- testing-x86_64/kdeedu-kalzium.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kalzium.install	2015-03-04 10:56:31 UTC (rev 232611)
@@ -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