[arch-commits] Commit in kdeedu-kig/repos (4 files)
Ionut Biru
ibiru at archlinux.org
Wed Nov 30 06:29:11 UTC 2011
Date: Wednesday, November 30, 2011 @ 01:29:11
Author: ibiru
Revision: 143860
db-move: moved kdeedu-kig from [staging] to [testing] (i686)
Added:
kdeedu-kig/repos/testing-i686/
kdeedu-kig/repos/testing-i686/PKGBUILD
(from rev 143849, kdeedu-kig/repos/staging-i686/PKGBUILD)
kdeedu-kig/repos/testing-i686/kdeedu-kig.install
(from rev 143849, kdeedu-kig/repos/staging-i686/kdeedu-kig.install)
Deleted:
kdeedu-kig/repos/staging-i686/
--------------------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
kdeedu-kig.install | 12 ++++++++++++
2 files changed, 46 insertions(+)
Copied: kdeedu-kig/repos/testing-i686/PKGBUILD (from rev 143849, kdeedu-kig/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2011-11-30 06:29:11 UTC (rev 143860)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.7.3
+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.bz2")
+sha1sums=('5a948b641f380e1cc6cf0f91d795a97029464bbb')
+
+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 143849, kdeedu-kig/repos/staging-i686/kdeedu-kig.install)
===================================================================
--- testing-i686/kdeedu-kig.install (rev 0)
+++ testing-i686/kdeedu-kig.install 2011-11-30 06:29:11 UTC (rev 143860)
@@ -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