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

Antonio Rojas arojas at archlinux.org
Sat Mar 23 00:28:57 UTC 2019


    Date: Saturday, March 23, 2019 @ 00:28:55
  Author: arojas
Revision: 348981

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

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

Copied: kig/repos/kde-unstable-x86_64/PKGBUILD (from rev 348980, kig/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2019-03-23 00:28:55 UTC (rev 348981)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kig
+pkgver=19.03.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 qt5-xmlpatterns boost-libs python2 hicolor-icon-theme)
+makedepends=(extra-cmake-modules kdoctools boost)
+source=("https://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('04f35679bb6bb6de7999e78495af56d1f7a7141a965730298475631dc1682a30'
+            'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+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
+}



More information about the arch-commits mailing list