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

Antonio Rojas arojas at archlinux.org
Sun Sep 20 10:04:48 UTC 2015


    Date: Sunday, September 20, 2015 @ 12:04:48
  Author: arojas
Revision: 246999

Fix build and rebuild against python 3.5

Modified:
  cantor/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-20 09:47:54 UTC (rev 246998)
+++ PKGBUILD	2015-09-20 10:04:48 UTC (rev 246999)
@@ -4,7 +4,7 @@
 
 pkgname=cantor
 pkgver=15.08.1
-pkgrel=1
+pkgrel=2
 pkgdesc="KDE Frontend to Mathematical Software"
 url="http://kde.org/applications/education/cantor/"
 arch=('i686' 'x86_64')
@@ -22,11 +22,16 @@
 conflicts=('kdeedu-cantor')
 replaces=('kdeedu-cantor')
 install=${pkgname}.install
-source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz")
-sha1sums=('bcc5cb39bb9febf51bf70b3e8ebe03e58f1ca692')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/cantor-${pkgver}.tar.xz" python-3.5.patch)
+sha1sums=('bcc5cb39bb9febf51bf70b3e8ebe03e58f1ca692'
+          'd6d04b323e4d301587ebb82e88672c0cee923bc1')
 
 prepare() {
   mkdir -p build
+
+# Fix build against python 3.5
+  cd $pkgname-$pkgver
+  patch -p1 -i ../python-3.5.patch
 }
 
 build() {



More information about the arch-commits mailing list