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

Ionut Biru ibiru at archlinux.org
Sat Mar 3 08:08:51 UTC 2012


    Date: Saturday, March 3, 2012 @ 03:08:51
  Author: ibiru
Revision: 151810

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

Added:
  kdeedu-kig/repos/testing-i686/
  kdeedu-kig/repos/testing-i686/PKGBUILD
    (from rev 151799, kdeedu-kig/repos/staging-i686/PKGBUILD)
  kdeedu-kig/repos/testing-i686/kdeedu-kig.install
    (from rev 151799, 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/testing-i686/PKGBUILD (from rev 151799, kdeedu-kig/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-03-03 08:08:51 UTC (rev 151810)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.8.0
+pkgrel=2
+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/stable/${pkgver}/src/kig-${pkgver}.tar.bz2")
+sha1sums=('141a4c9230ab134dcf7016c2880357d9e52b8f69')
+
+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/testing-i686/kdeedu-kig.install (from rev 151799, kdeedu-kig/repos/staging-i686/kdeedu-kig.install)
===================================================================
--- testing-i686/kdeedu-kig.install	                        (rev 0)
+++ testing-i686/kdeedu-kig.install	2012-03-03 08:08:51 UTC (rev 151810)
@@ -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