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

Andrea Scarpino andrea at archlinux.org
Thu May 3 15:06:15 UTC 2012


    Date: Thursday, May 3, 2012 @ 11:06:15
  Author: andrea
Revision: 158275

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

Added:
  kdeedu-kmplot/repos/staging-i686/
  kdeedu-kmplot/repos/staging-i686/PKGBUILD
    (from rev 158274, kdeedu-kmplot/trunk/PKGBUILD)
  kdeedu-kmplot/repos/staging-i686/kdeedu-kmplot.install
    (from rev 158274, kdeedu-kmplot/trunk/kdeedu-kmplot.install)
  kdeedu-kmplot/repos/staging-x86_64/
  kdeedu-kmplot/repos/staging-x86_64/PKGBUILD
    (from rev 158274, kdeedu-kmplot/trunk/PKGBUILD)
  kdeedu-kmplot/repos/staging-x86_64/kdeedu-kmplot.install
    (from rev 158274, kdeedu-kmplot/trunk/kdeedu-kmplot.install)

--------------------------------------+
 staging-i686/PKGBUILD                |   31 +++++++++++++++++++++++++++++++
 staging-i686/kdeedu-kmplot.install   |   12 ++++++++++++
 staging-x86_64/PKGBUILD              |   31 +++++++++++++++++++++++++++++++
 staging-x86_64/kdeedu-kmplot.install |   12 ++++++++++++
 4 files changed, 86 insertions(+)

Copied: kdeedu-kmplot/repos/staging-i686/PKGBUILD (from rev 158274, kdeedu-kmplot/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-05-03 15:06:15 UTC (rev 158275)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kmplot
+pkgver=4.8.3
+pkgrel=1
+pkgdesc="Mathematical Function Plotter"
+url="http://kde.org/applications/education/kmplot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('c34c93266fd00d7c9b0d6f16625dbed13dba2a20')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kmplot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kmplot/repos/staging-i686/kdeedu-kmplot.install (from rev 158274, kdeedu-kmplot/trunk/kdeedu-kmplot.install)
===================================================================
--- staging-i686/kdeedu-kmplot.install	                        (rev 0)
+++ staging-i686/kdeedu-kmplot.install	2012-05-03 15:06:15 UTC (rev 158275)
@@ -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-kmplot/repos/staging-x86_64/PKGBUILD (from rev 158274, kdeedu-kmplot/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-05-03 15:06:15 UTC (rev 158275)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kmplot
+pkgver=4.8.3
+pkgrel=1
+pkgdesc="Mathematical Function Plotter"
+url="http://kde.org/applications/education/kmplot/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('kdebase-runtime')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kmplot-${pkgver}.tar.xz")
+sha1sums=('c34c93266fd00d7c9b0d6f16625dbed13dba2a20')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kmplot-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdeedu-kmplot/repos/staging-x86_64/kdeedu-kmplot.install (from rev 158274, kdeedu-kmplot/trunk/kdeedu-kmplot.install)
===================================================================
--- staging-x86_64/kdeedu-kmplot.install	                        (rev 0)
+++ staging-x86_64/kdeedu-kmplot.install	2012-05-03 15:06:15 UTC (rev 158275)
@@ -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