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

Antonio Rojas arojas at archlinux.org
Fri Oct 7 18:43:26 UTC 2016


    Date: Friday, October 7, 2016 @ 18:43:26
  Author: arojas
Revision: 277886

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

Added:
  kig/repos/staging-i686/
  kig/repos/staging-i686/PKGBUILD
    (from rev 277885, kig/trunk/PKGBUILD)
  kig/repos/staging-x86_64/
  kig/repos/staging-x86_64/PKGBUILD
    (from rev 277885, kig/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

Copied: kig/repos/staging-i686/PKGBUILD (from rev 277885, kig/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-10-07 18:43:26 UTC (rev 277886)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=16.08.1
+pkgrel=3
+pkgdesc="Interactive Geometry"
+url="http://kde.org/applications/education/kig/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('ktexteditor' 'boost-libs' 'python2' 'hicolor-icon-theme') # kemoticons, kitemmodels are only required for tests
+makedepends=('extra-cmake-modules' 'kdoctools' 'boost' 'qt5-xmlpatterns')
+optdepends=('qt5-xmlpatterns: support for GeoGebra files')
+replaces=('kdeedu-kig')
+conflicts=('kdeedu-kig')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('efd0d2f4e1b056698aefc97eb9924f194b663058')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib
+  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/staging-x86_64/PKGBUILD (from rev 277885, kig/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-10-07 18:43:26 UTC (rev 277886)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=16.08.1
+pkgrel=3
+pkgdesc="Interactive Geometry"
+url="http://kde.org/applications/education/kig/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdeedu')
+depends=('ktexteditor' 'boost-libs' 'python2' 'hicolor-icon-theme') # kemoticons, kitemmodels are only required for tests
+makedepends=('extra-cmake-modules' 'kdoctools' 'boost' 'qt5-xmlpatterns')
+optdepends=('qt5-xmlpatterns: support for GeoGebra files')
+replaces=('kdeedu-kig')
+conflicts=('kdeedu-kig')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('efd0d2f4e1b056698aefc97eb9924f194b663058')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib
+  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
+}



More information about the arch-commits mailing list