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

Andrea Scarpino andrea at archlinux.org
Tue Oct 4 19:38:46 EDT 2011


    Date: Tuesday, October 4, 2011 @ 19:38:46
  Author: andrea
Revision: 139794

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

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

-----------------------------------+
 staging-i686/PKGBUILD             |   34 ++++++++++++++++++++++++++++++++++
 staging-i686/kdeedu-kig.install   |   12 ++++++++++++
 staging-x86_64/PKGBUILD           |   34 ++++++++++++++++++++++++++++++++++
 staging-x86_64/kdeedu-kig.install |   12 ++++++++++++
 4 files changed, 92 insertions(+)

Copied: kdeedu-kig/repos/staging-i686/PKGBUILD (from rev 139793, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-10-04 23:38:46 UTC (rev 139794)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.7.2
+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/stable/${pkgver}/src/kig-${pkgver}.tar.bz2")
+sha1sums=('2234ddb85e8c52214f9fdb5eb25f9491e23c7d86')
+
+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/staging-i686/kdeedu-kig.install (from rev 139793, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- staging-i686/kdeedu-kig.install	                        (rev 0)
+++ staging-i686/kdeedu-kig.install	2011-10-04 23:38:46 UTC (rev 139794)
@@ -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-kig/repos/staging-x86_64/PKGBUILD (from rev 139793, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-10-04 23:38:46 UTC (rev 139794)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.7.2
+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/stable/${pkgver}/src/kig-${pkgver}.tar.bz2")
+sha1sums=('2234ddb85e8c52214f9fdb5eb25f9491e23c7d86')
+
+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/staging-x86_64/kdeedu-kig.install (from rev 139793, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- staging-x86_64/kdeedu-kig.install	                        (rev 0)
+++ staging-x86_64/kdeedu-kig.install	2011-10-04 23:38:46 UTC (rev 139794)
@@ -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