summaryrefslogtreecommitdiff
path: root/community/sage-mathematics
diff options
context:
space:
mode:
Diffstat (limited to 'community/sage-mathematics')
-rw-r--r--community/sage-mathematics/PKGBUILD11
-rw-r--r--community/sage-mathematics/sage-mathematics.install2
2 files changed, 8 insertions, 5 deletions
diff --git a/community/sage-mathematics/PKGBUILD b/community/sage-mathematics/PKGBUILD
index feea10efe..f48ccb516 100644
--- a/community/sage-mathematics/PKGBUILD
+++ b/community/sage-mathematics/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 81694 2012-12-27 00:16:01Z dwallace $
+# $Id: PKGBUILD 83604 2013-02-03 20:48:03Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Contributor: Antonio Rojas < nqn1976 @ gmail.com >
# Contributor: Thomas Dziedzic < gostrc at gmail >
@@ -7,14 +7,15 @@
# Special thanks to Nareto for moving the compile from the .install to the PKGBUILD
pkgname=sage-mathematics
-pkgver=5.5
+pkgver=5.6
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')
-makedepends=('gcc-fortran' 'desktop-file-utils')
+#depends=('xz' 'java-environment=7' 'desktop-file-utils' 'libxmu' 'libtiff' 'sqlite' 'libjpeg-turbo')
+depends=('desktop-file-utils')
+makedepends=('gcc-fortran' )
optdepends=('imagemagick: some plotting functionality benefits from it'
'texlive-core: some plotting functionality benefits from it, also to use SageTeX'
'openssh: to use the notebook in secure mode'
@@ -23,7 +24,7 @@ options=('!makeflags')
install="${pkgname}.install"
source=("http://sage.math.washington.edu/home/release/sage-${pkgver}/sage-${pkgver}.tar"
'SAGE-notebook.desktop')
-md5sums=('1162b607cf42859e31e81591600960d3'
+md5sums=('ce50c9e0c0ed1dca3038891c5c929509'
'b82f94383829eee26648feb977e2d89b')
build() {
diff --git a/community/sage-mathematics/sage-mathematics.install b/community/sage-mathematics/sage-mathematics.install
index 6caa5299e..ab5dae235 100644
--- a/community/sage-mathematics/sage-mathematics.install
+++ b/community/sage-mathematics/sage-mathematics.install
@@ -1,5 +1,6 @@
post_install() {
cd /opt/sage
+ update-desktop-database -q
# set HOME because when sage updates its sage_root (after being moved) it will write files to ~/.sage with root ownership
# the files it writes to ~/.sage can be safely ignored
@@ -44,6 +45,7 @@ post_upgrade() {
post_remove() {
# Update LaTeX db to remove SageTeX entries
+ update-desktop-database -q
if [ -f /usr/bin/texhash ]; then
/usr/bin/texhash /usr/share/texmf
fi