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

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 16:15:15 UTC 2011


    Date: Thursday, November 24, 2011 @ 11:15:14
  Author: andrea
Revision: 143370

db-move: moved kdeedu-kmplot from [staging] to [kde-unstable] (x86_64)

Added:
  kdeedu-kmplot/repos/kde-unstable-x86_64/
  kdeedu-kmplot/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 143277, kdeedu-kmplot/repos/staging-x86_64/PKGBUILD)
  kdeedu-kmplot/repos/kde-unstable-x86_64/kdeedu-kmplot.install
    (from rev 143277, kdeedu-kmplot/repos/staging-x86_64/kdeedu-kmplot.install)
Deleted:
  kdeedu-kmplot/repos/staging-x86_64/

-----------------------+
 PKGBUILD              |   31 +++++++++++++++++++++++++++++++
 kdeedu-kmplot.install |   12 ++++++++++++
 2 files changed, 43 insertions(+)

Copied: kdeedu-kmplot/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdeedu-kmplot/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-11-24 16:15:14 UTC (rev 143370)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kmplot
+pkgver=4.7.80
+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/unstable/${pkgver}/src/kmplot-${pkgver}.tar.bz2")
+sha1sums=('7009619d0d11bd6be7acac095f386ff219ccd506')
+
+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/kde-unstable-x86_64/kdeedu-kmplot.install (from rev 143277, kdeedu-kmplot/repos/staging-x86_64/kdeedu-kmplot.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-kmplot.install	                        (rev 0)
+++ kde-unstable-x86_64/kdeedu-kmplot.install	2011-11-24 16:15:14 UTC (rev 143370)
@@ -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