[arch-commits] Commit in kig (trunk trunk trunk/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Aug 21 02:49:15 UTC 2016


    Date: Sunday, August 21, 2016 @ 02:49:15
  Author: felixonmars
Revision: 274268

upgpkg: kig 16.08.0-1

Upstream release

Added:
  kig/trunk/
  kig/trunk/PKGBUILD
Deleted:
  kig/trunk/

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

Added: trunk/PKGBUILD
===================================================================
--- trunk/PKGBUILD	                        (rev 0)
+++ trunk/PKGBUILD	2016-08-21 02:49:15 UTC (rev 274268)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=16.08.0
+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/stable/applications/${pkgver}/src/kig-${pkgver}.tar.xz")
+sha1sums=('9f196f4663311fea398404ef3336dffecb483ef8')
+
+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
+}


Property changes on: kig/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list