From f87ab435eb966ec44eb006c48699e6ee90613286 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 9 Apr 2011 14:42:55 +0000 Subject: Sat Apr 9 14:42:55 UTC 2011 --- community/mathomatic/PKGBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'community/mathomatic') diff --git a/community/mathomatic/PKGBUILD b/community/mathomatic/PKGBUILD index dc064a84f..4754e0cb7 100755 --- a/community/mathomatic/PKGBUILD +++ b/community/mathomatic/PKGBUILD @@ -3,24 +3,25 @@ # Maintainer: Thorsten Töpper pkgname=mathomatic -pkgver=15.5.0 +pkgver=15.5.2 pkgrel=1 pkgdesc="General purpose Computer Algebra System written in C" arch=('i686' 'x86_64') license=('LGPL') url="http://mathomatic.orgserve.de/math/" depends=('readline') +makedepends=('time') optdepends=('python2: for running /usr/share/doc/mathomatic/factorial/factorial' 'bash: for running a test script' 'gnuplot: for plotting') source=(http://mathomatic.org/$pkgname-$pkgver.tar.bz2) -md5sums=('c04e16f5eec7b1eff500be947135cf74') +md5sums=('c86a4bfb71497b34f24a3fa2141b2911') build() { cd "$srcdir"/$pkgname-$pkgver # python2 fix - for file in primes/{primorial,matho-sum,matho-mult} factorial/factorial; do + for file in primes/{primorial,matho-sum,matho-mult} examples/factorial; do sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done -- cgit v1.2.3-54-g00ecf