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

Felix Yan fyan at archlinux.org
Wed Feb 4 06:23:07 UTC 2015


    Date: Wednesday, February 4, 2015 @ 07:23:07
  Author: fyan
Revision: 230506

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

Added:
  kig/repos/testing-i686/
  kig/repos/testing-i686/PKGBUILD
    (from rev 230505, kig/trunk/PKGBUILD)
  kig/repos/testing-i686/kig.install
    (from rev 230505, kig/trunk/kig.install)
  kig/repos/testing-x86_64/
  kig/repos/testing-x86_64/PKGBUILD
    (from rev 230505, kig/trunk/PKGBUILD)
  kig/repos/testing-x86_64/kig.install
    (from rev 230505, kig/trunk/kig.install)

----------------------------+
 testing-i686/PKGBUILD      |   42 ++++++++++++++++++++++++++++++++++++++++++
 testing-i686/kig.install   |   12 ++++++++++++
 testing-x86_64/PKGBUILD    |   42 ++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/kig.install |   12 ++++++++++++
 4 files changed, 108 insertions(+)

Copied: kig/repos/testing-i686/PKGBUILD (from rev 230505, kig/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-02-04 06:23:07 UTC (rev 230506)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Interactive Geometry"
+url="http://kde.org/applications/education/kig/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('ktexteditor' 'kdelibs4support')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'boost')
+replaces=('kdeedu-kig')
+conflicts=('kdeedu-kig')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('d0ae7fd3c0153b3d3bcf7ab142994f51b314b72f')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kig-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  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: kig/repos/testing-i686/kig.install (from rev 230505, kig/trunk/kig.install)
===================================================================
--- testing-i686/kig.install	                        (rev 0)
+++ testing-i686/kig.install	2015-02-04 06:23:07 UTC (rev 230506)
@@ -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: kig/repos/testing-x86_64/PKGBUILD (from rev 230505, kig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-02-04 06:23:07 UTC (rev 230506)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=14.12.2
+pkgrel=1
+pkgdesc="Interactive Geometry"
+url="http://kde.org/applications/education/kig/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdeedu')
+depends=('ktexteditor' 'kdelibs4support')
+makedepends=('extra-cmake-modules' 'kdoctools' 'python' 'boost')
+replaces=('kdeedu-kig')
+conflicts=('kdeedu-kig')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('d0ae7fd3c0153b3d3bcf7ab142994f51b314b72f')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../kig-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  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: kig/repos/testing-x86_64/kig.install (from rev 230505, kig/trunk/kig.install)
===================================================================
--- testing-x86_64/kig.install	                        (rev 0)
+++ testing-x86_64/kig.install	2015-02-04 06:23:07 UTC (rev 230506)
@@ -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