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

Andrea Scarpino andrea at archlinux.org
Sun Mar 4 09:42:26 EST 2012


    Date: Sunday, March 4, 2012 @ 09:42:26
  Author: andrea
Revision: 152071

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

Added:
  kdeedu-kig/repos/staging-i686/
  kdeedu-kig/repos/staging-i686/PKGBUILD
    (from rev 152070, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/staging-i686/kdeedu-kig.install
    (from rev 152070, kdeedu-kig/trunk/kdeedu-kig.install)
  kdeedu-kig/repos/staging-x86_64/
  kdeedu-kig/repos/staging-x86_64/PKGBUILD
    (from rev 152070, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/staging-x86_64/kdeedu-kig.install
    (from rev 152070, kdeedu-kig/trunk/kdeedu-kig.install)
Modified:
  kdeedu-kig/repos/extra-i686/PKGBUILD
  kdeedu-kig/repos/extra-x86_64/PKGBUILD
  kdeedu-kig/repos/testing-i686/PKGBUILD
  kdeedu-kig/repos/testing-x86_64/PKGBUILD

-----------------------------------+
 extra-i686/PKGBUILD               |    2 +-
 extra-x86_64/PKGBUILD             |    2 +-
 staging-i686/PKGBUILD             |   34 ++++++++++++++++++++++++++++++++++
 staging-i686/kdeedu-kig.install   |   12 ++++++++++++
 staging-x86_64/PKGBUILD           |   34 ++++++++++++++++++++++++++++++++++
 staging-x86_64/kdeedu-kig.install |   12 ++++++++++++
 testing-i686/PKGBUILD             |    2 +-
 testing-x86_64/PKGBUILD           |    2 +-
 8 files changed, 96 insertions(+), 4 deletions(-)

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-04 14:42:00 UTC (rev 152070)
+++ extra-i686/PKGBUILD	2012-03-04 14:42:26 UTC (rev 152071)
@@ -12,7 +12,7 @@
 depends=('kdebase-runtime')
 makedepends=('cmake' 'automoc4')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kig-${pkgver}.tar.xz")
 sha1sums=('141a4c9230ab134dcf7016c2880357d9e52b8f69')
 
 build() {

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-03-04 14:42:00 UTC (rev 152070)
+++ extra-x86_64/PKGBUILD	2012-03-04 14:42:26 UTC (rev 152071)
@@ -12,7 +12,7 @@
 depends=('kdebase-runtime')
 makedepends=('cmake' 'automoc4')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kig-${pkgver}.tar.xz")
 sha1sums=('141a4c9230ab134dcf7016c2880357d9e52b8f69')
 
 build() {

Copied: kdeedu-kig/repos/staging-i686/PKGBUILD (from rev 152070, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2012-03-04 14:42:26 UTC (rev 152071)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.8.1
+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/xz/kig-${pkgver}.tar.xz")
+sha1sums=('05a5ee09be9955bb24e5fcb926eb5bb8f0b24459')
+
+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 152070, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- staging-i686/kdeedu-kig.install	                        (rev 0)
+++ staging-i686/kdeedu-kig.install	2012-03-04 14:42:26 UTC (rev 152071)
@@ -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 152070, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2012-03-04 14:42:26 UTC (rev 152071)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.8.1
+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/xz/kig-${pkgver}.tar.xz")
+sha1sums=('05a5ee09be9955bb24e5fcb926eb5bb8f0b24459')
+
+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 152070, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- staging-x86_64/kdeedu-kig.install	                        (rev 0)
+++ staging-x86_64/kdeedu-kig.install	2012-03-04 14:42:26 UTC (rev 152071)
@@ -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
+}

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2012-03-04 14:42:00 UTC (rev 152070)
+++ testing-i686/PKGBUILD	2012-03-04 14:42:26 UTC (rev 152071)
@@ -12,7 +12,7 @@
 depends=('kdebase-runtime')
 makedepends=('cmake' 'automoc4')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kig-${pkgver}.tar.xz")
 sha1sums=('141a4c9230ab134dcf7016c2880357d9e52b8f69')
 
 build() {

Modified: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD	2012-03-04 14:42:00 UTC (rev 152070)
+++ testing-x86_64/PKGBUILD	2012-03-04 14:42:26 UTC (rev 152071)
@@ -12,7 +12,7 @@
 depends=('kdebase-runtime')
 makedepends=('cmake' 'automoc4')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.bz2")
+source=("http://download.kde.org/stable/${pkgver}/src/xz/kig-${pkgver}.tar.xz")
 sha1sums=('141a4c9230ab134dcf7016c2880357d9e52b8f69')
 
 build() {



More information about the arch-commits mailing list