summaryrefslogtreecommitdiff
path: root/community/mathomatic
diff options
context:
space:
mode:
Diffstat (limited to 'community/mathomatic')
-rwxr-xr-xcommunity/mathomatic/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
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 <atsutane-tu@freethoughts.de>
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