[arch-commits] Commit in kig/repos (kde-unstable-x86_64 kde-unstable-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Mar 25 00:52:05 UTC 2017


    Date: Saturday, March 25, 2017 @ 00:52:04
  Author: arojas
Revision: 291346

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  kig/repos/kde-unstable-x86_64/
  kig/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 291345, kig/kde-unstable/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: kig/repos/kde-unstable-x86_64/PKGBUILD (from rev 291345, kig/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2017-03-25 00:52:04 UTC (rev 291346)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=17.03.80
+pkgrel=1
+pkgdesc="Interactive Geometry"
+url="https://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')
+makedepends=('extra-cmake-modules' 'kdoctools' 'boost' 'qt5-xmlpatterns')
+optdepends=('qt5-xmlpatterns: support for GeoGebra files')
+replaces=('kdeedu-kig')
+conflicts=('kdeedu-kig')
+source=("https://download.kde.org/stable/applications/${pkgver}/src/kig-${pkgver}.tar.xz"{,.sig})
+sha256sums=('14d9cfaf5e14586dbe2aa78df3ab0f0228028d36afce050e4011ceb13fb043a2'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid at kde.org>
+
+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