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

Andrea Scarpino andrea at archlinux.org
Mon Feb 27 13:26:20 EST 2012


    Date: Monday, February 27, 2012 @ 13:26:20
  Author: andrea
Revision: 151579

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

Added:
  kdeedu-kig/repos/staging-i686/
  kdeedu-kig/repos/staging-i686/PKGBUILD
    (from rev 151578, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/staging-i686/kdeedu-kig.install
    (from rev 151578, kdeedu-kig/trunk/kdeedu-kig.install)
  kdeedu-kig/repos/staging-x86_64/
  kdeedu-kig/repos/staging-x86_64/PKGBUILD
    (from rev 151578, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/staging-x86_64/kdeedu-kig.install
    (from rev 151578, 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 151578, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-02-27 18:26:20 UTC (rev 151579)
@@ -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/staging-i686/kdeedu-kig.install (from rev 151578, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- staging-i686/kdeedu-kig.install	                        (rev 0)
+++ staging-i686/kdeedu-kig.install	2012-02-27 18:26:20 UTC (rev 151579)
@@ -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 151578, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-02-27 18:26:20 UTC (rev 151579)
@@ -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/staging-x86_64/kdeedu-kig.install (from rev 151578, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- staging-x86_64/kdeedu-kig.install	                        (rev 0)
+++ staging-x86_64/kdeedu-kig.install	2012-02-27 18:26:20 UTC (rev 151579)
@@ -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