summaryrefslogtreecommitdiff
path: root/community/mathomatic
diff options
context:
space:
mode:
Diffstat (limited to 'community/mathomatic')
-rwxr-xr-xcommunity/mathomatic/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/mathomatic/PKGBUILD b/community/mathomatic/PKGBUILD
index ffedd8d8a..1b838e063 100755
--- a/community/mathomatic/PKGBUILD
+++ b/community/mathomatic/PKGBUILD
@@ -3,7 +3,7 @@
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
pkgname=mathomatic
-pkgver=15.6.5
+pkgver=15.7.0
pkgrel=1
pkgdesc="General purpose Computer Algebra System written in C"
arch=('i686' 'x86_64' 'mips64el')
@@ -13,9 +13,10 @@ depends=('readline')
makedepends=('time')
optdepends=('python2: for running /usr/share/doc/mathomatic/factorial/factorial'
'bash: for running a test script'
+ 'm4: for complex operations using the matho script'
'gnuplot: for plotting')
source=(http://mathomatic.org/$pkgname-$pkgver.tar.bz2)
-md5sums=('1dc244232986f98611c8d2723ae3a497')
+md5sums=('73d40f17bf5bb775d0968ddd9480ca45')
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -35,8 +36,11 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
- make prefix="$pkgdir"/usr install
+ make prefix="$pkgdir"/usr m4install
+ sed -i 's+/build/pkg++' "$pkgdir"/usr/bin/matho
+
cd "$srcdir"/$pkgname-$pkgver/primes
make prefix="$pkgdir"/usr install
}
+# vim:set ts=2 sw=2 et: