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

Ionut Biru ibiru at archlinux.org
Sun Jul 15 13:16:55 UTC 2012


    Date: Sunday, July 15, 2012 @ 09:16:55
  Author: ibiru
Revision: 163547

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

Added:
  kdeedu-kig/repos/testing-i686/
  kdeedu-kig/repos/testing-i686/PKGBUILD
    (from rev 163541, kdeedu-kig/repos/staging-i686/PKGBUILD)
  kdeedu-kig/repos/testing-i686/kdeedu-kig.install
    (from rev 163541, kdeedu-kig/repos/staging-i686/kdeedu-kig.install)
  kdeedu-kig/repos/testing-x86_64/
  kdeedu-kig/repos/testing-x86_64/PKGBUILD
    (from rev 163541, kdeedu-kig/repos/staging-x86_64/PKGBUILD)
  kdeedu-kig/repos/testing-x86_64/kdeedu-kig.install
    (from rev 163541, kdeedu-kig/repos/staging-x86_64/kdeedu-kig.install)
Deleted:
  kdeedu-kig/repos/staging-i686/
  kdeedu-kig/repos/staging-x86_64/

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

Copied: kdeedu-kig/repos/testing-i686/PKGBUILD (from rev 163541, kdeedu-kig/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-07-15 13:16:55 UTC (rev 163547)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.8.4
+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.xz")
+sha1sums=('dcbde5fbb34e0c569a2ef95a328cf69a924cd38e')
+
+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 163541, kdeedu-kig/repos/staging-i686/kdeedu-kig.install)
===================================================================
--- testing-i686/kdeedu-kig.install	                        (rev 0)
+++ testing-i686/kdeedu-kig.install	2012-07-15 13:16:55 UTC (rev 163547)
@@ -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/testing-x86_64/PKGBUILD (from rev 163541, kdeedu-kig/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-07-15 13:16:55 UTC (rev 163547)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.8.4
+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.xz")
+sha1sums=('dcbde5fbb34e0c569a2ef95a328cf69a924cd38e')
+
+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-x86_64/kdeedu-kig.install (from rev 163541, kdeedu-kig/repos/staging-x86_64/kdeedu-kig.install)
===================================================================
--- testing-x86_64/kdeedu-kig.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kig.install	2012-07-15 13:16:55 UTC (rev 163547)
@@ -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