[arch-commits] Commit in kig/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sat Jul 23 18:29:39 UTC 2016
Date: Saturday, July 23, 2016 @ 18:29:39
Author: arojas
Revision: 272307
archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64
Added:
kig/repos/kde-unstable-i686/
kig/repos/kde-unstable-i686/PKGBUILD
(from rev 272306, kig/kde-unstable/PKGBUILD)
kig/repos/kde-unstable-x86_64/
kig/repos/kde-unstable-x86_64/PKGBUILD
(from rev 272306, kig/kde-unstable/PKGBUILD)
------------------------------+
kde-unstable-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
kde-unstable-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
Copied: kig/repos/kde-unstable-i686/PKGBUILD (from rev 272306, kig/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD (rev 0)
+++ kde-unstable-i686/PKGBUILD 2016-07-23 18:29:39 UTC (rev 272307)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=16.07.80
+pkgrel=1
+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/unstable/applications/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('e8a1a3d4a7f1a2a814709e4b616a0566654b65dd')
+
+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/kde-unstable-x86_64/PKGBUILD (from rev 272306, kig/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2016-07-23 18:29:39 UTC (rev 272307)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=16.07.80
+pkgrel=1
+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/unstable/applications/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('e8a1a3d4a7f1a2a814709e4b616a0566654b65dd')
+
+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