summaryrefslogtreecommitdiff
path: root/community/mathomatic
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/mathomatic
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/mathomatic')
-rw-r--r--community/mathomatic/PKGBUILD48
1 files changed, 0 insertions, 48 deletions
diff --git a/community/mathomatic/PKGBUILD b/community/mathomatic/PKGBUILD
deleted file mode 100644
index d3067ade0..000000000
--- a/community/mathomatic/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 79365 2012-11-03 16:31:24Z ttopper $
-# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
-# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
-# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
-
-pkgname=mathomatic
-pkgver=16.0.5
-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'
- 'm4: for complex operations using the matho script'
- 'rlwrap: for readline editing'
- 'gnuplot: for plotting')
-source=(http://mathomatic.org/$pkgname-$pkgver.tar.bz2)
-md5sums=('dd04913a98a5073b56f3bc78a01820f3')
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver
-
- # python2 fix
- 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
-
- make READLINE=1
- make test
- cd "$srcdir"/$pkgname-$pkgver/primes
- make
- make test
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
- 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: