[arch-commits] Commit in kdeedu-kig/repos (6 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Wed Feb 6 08:39:10 UTC 2013
Date: Wednesday, February 6, 2013 @ 09:39:08
Author: andrea
Revision: 177143
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdeedu-kig/repos/testing-i686/
kdeedu-kig/repos/testing-i686/PKGBUILD
(from rev 177142, kdeedu-kig/trunk/PKGBUILD)
kdeedu-kig/repos/testing-i686/kdeedu-kig.install
(from rev 177142, kdeedu-kig/trunk/kdeedu-kig.install)
kdeedu-kig/repos/testing-x86_64/
kdeedu-kig/repos/testing-x86_64/PKGBUILD
(from rev 177142, kdeedu-kig/trunk/PKGBUILD)
kdeedu-kig/repos/testing-x86_64/kdeedu-kig.install
(from rev 177142, kdeedu-kig/trunk/kdeedu-kig.install)
-----------------------------------+
testing-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
testing-i686/kdeedu-kig.install | 12 ++++++++++++
testing-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
testing-x86_64/kdeedu-kig.install | 12 ++++++++++++
4 files changed, 94 insertions(+)
Copied: kdeedu-kig/repos/testing-i686/PKGBUILD (from rev 177142, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-02-06 08:39:08 UTC (rev 177143)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.10.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')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('42504e6358f5d1f7685c8d2663efa5bce5464b93')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kig-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -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 177142, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- testing-i686/kdeedu-kig.install (rev 0)
+++ testing-i686/kdeedu-kig.install 2013-02-06 08:39:08 UTC (rev 177143)
@@ -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 177142, kdeedu-kig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-02-06 08:39:08 UTC (rev 177143)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.10.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')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('42504e6358f5d1f7685c8d2663efa5bce5464b93')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../kig-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -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 177142, kdeedu-kig/trunk/kdeedu-kig.install)
===================================================================
--- testing-x86_64/kdeedu-kig.install (rev 0)
+++ testing-x86_64/kdeedu-kig.install 2013-02-06 08:39:08 UTC (rev 177143)
@@ -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