[arch-commits] Commit in kdeedu-kig/repos (6 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Mar 8 08:39:39 UTC 2014
Date: Saturday, March 8, 2014 @ 09:39:39
Author: andrea
Revision: 207221
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kdeedu-kig/repos/kde-unstable-i686/
kdeedu-kig/repos/kde-unstable-i686/PKGBUILD
(from rev 207220, kdeedu-kig/kde-unstable/PKGBUILD)
kdeedu-kig/repos/kde-unstable-i686/kdeedu-kig.install
(from rev 207220, kdeedu-kig/kde-unstable/kdeedu-kig.install)
kdeedu-kig/repos/kde-unstable-x86_64/
kdeedu-kig/repos/kde-unstable-x86_64/PKGBUILD
(from rev 207220, kdeedu-kig/kde-unstable/PKGBUILD)
kdeedu-kig/repos/kde-unstable-x86_64/kdeedu-kig.install
(from rev 207220, kdeedu-kig/kde-unstable/kdeedu-kig.install)
----------------------------------------+
kde-unstable-i686/PKGBUILD | 34 +++++++++++++++++++++++++++++++
kde-unstable-i686/kdeedu-kig.install | 12 ++++++++++
kde-unstable-x86_64/PKGBUILD | 34 +++++++++++++++++++++++++++++++
kde-unstable-x86_64/kdeedu-kig.install | 12 ++++++++++
4 files changed, 92 insertions(+)
Copied: kdeedu-kig/repos/kde-unstable-i686/PKGBUILD (from rev 207220, kdeedu-kig/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2014-03-08 08:39:39 UTC (rev 207221)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.12.80
+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/unstable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('95fecca5871e0d97ed386550bc666d7a3c281fd9')
+
+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/kde-unstable-i686/kdeedu-kig.install (from rev 207220, kdeedu-kig/kde-unstable/kdeedu-kig.install)
===================================================================
--- kde-unstable-i686/kdeedu-kig.install (rev 0)
+++ kde-unstable-i686/kdeedu-kig.install 2014-03-08 08:39:39 UTC (rev 207221)
@@ -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/kde-unstable-x86_64/PKGBUILD (from rev 207220, kdeedu-kig/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2014-03-08 08:39:39 UTC (rev 207221)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdeedu-kig
+pkgver=4.12.80
+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/unstable/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('95fecca5871e0d97ed386550bc666d7a3c281fd9')
+
+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/kde-unstable-x86_64/kdeedu-kig.install (from rev 207220, kdeedu-kig/kde-unstable/kdeedu-kig.install)
===================================================================
--- kde-unstable-x86_64/kdeedu-kig.install (rev 0)
+++ kde-unstable-x86_64/kdeedu-kig.install 2014-03-08 08:39:39 UTC (rev 207221)
@@ -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