summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-24 07:12:00 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-12-25 15:06:02 -0600
commit479e95f80efd044f31a1c18bdb5aace53dbbc13a (patch)
tree93afac0d05c7a56597dec97834f9fb8ebaa67c99 /academic
parent85dbd958cc4f347e53c61e41224709df183357a1 (diff)
downloadslackbuilds-479e95f80efd044f31a1c18bdb5aace53dbbc13a.tar.gz
academic/sage: Updated for version 6.0 and changed maintainer.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/sage/sage-notebook.desktop2
-rw-r--r--academic/sage/sage.SlackBuild13
-rw-r--r--academic/sage/sage.info10
3 files changed, 13 insertions, 12 deletions
diff --git a/academic/sage/sage-notebook.desktop b/academic/sage/sage-notebook.desktop
index 595aacc4fe..3d59942ef7 100644
--- a/academic/sage/sage-notebook.desktop
+++ b/academic/sage/sage-notebook.desktop
@@ -3,7 +3,7 @@ Version=1.0
Name=SAGE
Comment=SAGE NOTEBOOK
Comment[en_US]=SAGE NOTEBOOK
-Exec=sage -notebook
+Exec=SAGEROOT/sage -notebook
GenericName=
GenericName[de]=
Icon=sageicon
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index 330eb318f6..85019df122 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.SlackBuild
@@ -2,9 +2,10 @@
# Slackware build script for sage
# Written by Jack Maddox <jack@auburn.edu>
+# Currently maintained by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
PRGNAM=sage
-VERSION=${VERSION:-5.12}
+VERSION=${VERSION:-6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -29,12 +30,12 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@@ -94,8 +95,8 @@ if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then
sed -i 's%$path ${SAGE_ROOT}%$path ${SAGE_ROOT} ${SAGE_ROOT}/bin%' $PKG/etc/profile.d/sage.csh
fi
-cat $CWD/$PRGNAM-notebook.desktop > $PKG/usr/share/applications/$PRGNAM-notebook.desktop
-cp devel/sage-main/doc/common/themes/sage/static/sageicon.png $PKG/usr/share/pixmaps/
+sed "s%SAGEROOT%${SAGEROOT}%" $CWD/$PRGNAM-notebook.desktop > $PKG/usr/share/applications/$PRGNAM-notebook.desktop
+cp src/doc/common/themes/sage/static/sageicon.png $PKG/usr/share/pixmaps/
# install sagetex to a location that is accessible to the system TeX installation
cp -a local/share/texmf $PKG/usr/share
diff --git a/academic/sage/sage.info b/academic/sage/sage.info
index 9b70b61920..73423c1825 100644
--- a/academic/sage/sage.info
+++ b/academic/sage/sage.info
@@ -1,10 +1,10 @@
PRGNAM="sage"
-VERSION="5.12"
+VERSION="6.0"
HOMEPAGE="http://www.sagemath.org"
-DOWNLOAD="http://sage.math.washington.edu/home/release/sage-5.12/sage-5.12.tar"
-MD5SUM="21d62a8a61e351c3c124167b3eead46f"
+DOWNLOAD="http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/sage-6.0.tar.gz"
+MD5SUM="da1bacf90fc291e736aaa71431e8874e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Jack Maddox"
-EMAIL="jack@auburn.edu"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"