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

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:15:02 EST 2011


    Date: Thursday, November 24, 2011 @ 11:15:01
  Author: andrea
Revision: 143363

db-move: moved kdeedu-kig from [staging] to [kde-unstable] (i686)

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

--------------------+
 PKGBUILD           |   34 ++++++++++++++++++++++++++++++++++
 kdeedu-kig.install |   12 ++++++++++++
 2 files changed, 46 insertions(+)

Copied: kdeedu-kig/repos/kde-unstable-i686/PKGBUILD (from rev 143277, kdeedu-kig/repos/staging-i686/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2011-11-24 16:15:01 UTC (rev 143363)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.7.80
+pkgrel=1
+pkgdesc="Interactive Geometry"
+url="http://kde.org/applications/education/kig/"
+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/kig-${pkgver}.tar.bz2")
+sha1sums=('9ac87b12dde1108782e5d4c332e550759ffd769d')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../kig-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+
+  # Use the python2 executable
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' "${pkgdir}"/usr/bin/pykig.py
+}

Copied: kdeedu-kig/repos/kde-unstable-i686/kdeedu-kig.install (from rev 143277, kdeedu-kig/repos/staging-i686/kdeedu-kig.install)
===================================================================
--- kde-unstable-i686/kdeedu-kig.install	                        (rev 0)
+++ kde-unstable-i686/kdeedu-kig.install	2011-11-24 16:15:01 UTC (rev 143363)
@@ -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