Date: Friday, July 20, 2018 @ 22:26:11
  Author: arojas
Revision: 329213

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 329212, kig/kde-unstable/PKGBUILD)

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

Copied: kig/repos/kde-unstable-x86_64/PKGBUILD (from rev 329212, 
kig/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD                                (rev 0)
+++ kde-unstable-x86_64/PKGBUILD        2018-07-20 22:26:11 UTC (rev 329213)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=kig
+pkgver=18.07.80
+pkgrel=1
+pkgdesc="Interactive Geometry"
+url="https://kde.org/applications/education/kig/";
+arch=(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')
+source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('e7f2b8d7921ebca64f615b5c4c2e7298d81721b69180680b0c5ba18aa74d1bc0'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 
<[email protected]>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck 
<[email protected]>
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  # Use the python2 executable
+  sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i 
"$pkgdir"/usr/bin/pykig.py
+}

Reply via email to