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

Andrea Scarpino andrea at nymeria.archlinux.org
Wed Dec 18 17:31:37 UTC 2013


    Date: Wednesday, December 18, 2013 @ 18:31:37
  Author: andrea
Revision: 202050

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

Added:
  kdeedu-kig/repos/testing-i686/
  kdeedu-kig/repos/testing-i686/PKGBUILD
    (from rev 202044, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/testing-i686/kdeedu-kig.install
    (from rev 202045, kdeedu-kig/trunk/kdeedu-kig.install)
  kdeedu-kig/repos/testing-x86_64/
  kdeedu-kig/repos/testing-x86_64/PKGBUILD
    (from rev 202046, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/testing-x86_64/kdeedu-kig.install
    (from rev 202046, kdeedu-kig/trunk/kdeedu-kig.install)

-----------------------------------+
 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 202044, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-12-18 17:31:37 UTC (rev 202050)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.12.0
+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' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('16ed1da7cb7d49a87d009791026590ac9db7b1e2')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kig-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd 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 202045, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- testing-i686/kdeedu-kig.install	                        (rev 0)
+++ testing-i686/kdeedu-kig.install	2013-12-18 17:31:37 UTC (rev 202050)
@@ -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 202046, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-12-18 17:31:37 UTC (rev 202050)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.12.0
+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' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('16ed1da7cb7d49a87d009791026590ac9db7b1e2')
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kig-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DKDE4_BUILD_TESTS=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd 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 202046, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- testing-x86_64/kdeedu-kig.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kig.install	2013-12-18 17:31:37 UTC (rev 202050)
@@ -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