summaryrefslogtreecommitdiff
path: root/community/sage-mathematics/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/sage-mathematics/PKGBUILD')
-rw-r--r--community/sage-mathematics/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD
index 2a321f237..7b50171ae 100644
--- a/community/sage-mathematics/PKGBUILD
+++ b/community/sage-mathematics/PKGBUILD
@@ -4,13 +4,14 @@
# Special thanks to Nareto for moving the compile from the .install to the PKGBUILD
pkgname=sage-mathematics
-pkgver=4.6.2
-pkgrel=2
+pkgver=4.7
+pkgrel=1
pkgdesc='SAGE: Open Source Mathematics Software, a viable free alternative to Magma, Maple, Mathematica, and Matlab.'
url='http://www.sagemath.org'
arch=('i686' 'x86_64')
license=('GPL')
-depends=('readline')
+#depends=('readline')
+depends=('ppl')
makedepends=('gcc-fortran' 'gcc-libs' 'desktop-file-utils' 'imagemagick' 'texlive-core')
optdepends=('imagemagick: some plotting functionality benefits from it'
'texlive-core: some plotting functionality benefits from it, also to use SageTeX'
@@ -19,8 +20,8 @@ options=('!makeflags')
install="${pkgname}.install"
source=("http://sage.math.washington.edu/home/release/sage-${pkgver}/sage-${pkgver}.tar"
'SAGE-notebook.desktop')
-md5sums=('0dc2c9e9cc593685bb039085900ddfeb'
- 'bcd01b7863794431f8f208ed96fd108d')
+md5sums=('db4d891feed487e1696b8d01ae3b6469'
+ 'dc391f12b7d17dd37326343ec0e99bbd')
build() {
cd sage-${pkgver}
@@ -30,8 +31,10 @@ build() {
# bash: symbol lookup error: bash: undefined symbol: rl_filename_rewrite_hook
# remove this hack when sage uses a readline 6.1 or greater, or when sage uses its own internal bash
# this is for people who have custom kernels (sage works this around by checking uname -r)
+ #mkdir -p spkg/installed
+ #touch spkg/installed/readline-6.1
mkdir -p spkg/installed
- touch spkg/installed/readline-6.1
+ touch spkg/installed/ppl-0.11.2
# fix "missing sage.all error" during build
unset CFLAGS
@@ -61,6 +64,9 @@ build() {
# only build sage, no documents
#make build
make
+
+ # uncomment if we want to run all the tests (warning: very long)
+ #make ptestlong
}
package() {