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

Antonio Rojas arojas at archlinux.org
Sat Oct 26 16:51:13 UTC 2019


    Date: Saturday, October 26, 2019 @ 16:51:12
  Author: arojas
Revision: 365886

Fix sagemath backend after sage-env removal

Modified:
  cantor/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-26 16:37:23 UTC (rev 365885)
+++ PKGBUILD	2019-10-26 16:51:12 UTC (rev 365886)
@@ -4,7 +4,7 @@
 
 pkgname=cantor
 pkgver=19.08.2
-pkgrel=1
+pkgrel=2
 pkgdesc="KDE Frontend to Mathematical Software"
 url="https://kde.org/applications/education/cantor/"
 arch=(x86_64)
@@ -20,14 +20,19 @@
 	    'python2: Python 2 backend'
             'sagemath: SageMath backend'
             'julia: Julia backend')
-source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+         cantor-no-sage-env.patch::"https://cgit.kde.org/cantor.git/patch/?id=13b8d731")
 sha256sums=('039bb1e61b996ab3776502db9367ed1f7fb7e674292647f1b28f5bd9b1c1b9cb'
-            'SKIP')
+            'SKIP'
+            '2b1321df1b794cc968cdd821df58ab17f7e52781ce7a6720929c9118324ab611')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../cantor-no-sage-env.patch # Fix sagemath backend
 }
 
 build() {



More information about the arch-commits mailing list