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

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Aug 16 20:08:04 UTC 2014


    Date: Saturday, August 16, 2014 @ 22:08:03
  Author: svenstaro
Revision: 219897

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

Added:
  kdeedu-kig/repos/testing-i686/
  kdeedu-kig/repos/testing-i686/PKGBUILD
    (from rev 219896, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/testing-i686/kdeedu-kig.install
    (from rev 219896, kdeedu-kig/trunk/kdeedu-kig.install)
  kdeedu-kig/repos/testing-x86_64/
  kdeedu-kig/repos/testing-x86_64/PKGBUILD
    (from rev 219896, kdeedu-kig/trunk/PKGBUILD)
  kdeedu-kig/repos/testing-x86_64/kdeedu-kig.install
    (from rev 219896, 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 219896, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-08-16 20:08:03 UTC (rev 219897)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.14.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' 'boost-libs')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('c680523b01da952ce8b51cccf19283a649311dd3')
+
+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 219896, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- testing-i686/kdeedu-kig.install	                        (rev 0)
+++ testing-i686/kdeedu-kig.install	2014-08-16 20:08:03 UTC (rev 219897)
@@ -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 219896, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-08-16 20:08:03 UTC (rev 219897)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.14.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' 'boost-libs')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('c680523b01da952ce8b51cccf19283a649311dd3')
+
+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 219896, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- testing-x86_64/kdeedu-kig.install	                        (rev 0)
+++ testing-x86_64/kdeedu-kig.install	2014-08-16 20:08:03 UTC (rev 219897)
@@ -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