academic/sage: Updated for version 5.12.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-06 08:43:06 +07:00 committed by Robby Workman
parent 706f968caf
commit ce953d09dd
2 changed files with 8 additions and 8 deletions

View file

@ -4,7 +4,7 @@
# Written by Jack Maddox <jack@auburn.edu>
PRGNAM=sage
VERSION=${VERSION:-5.3}
VERSION=${VERSION:-5.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -32,11 +32,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
find -L . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d
@ -95,7 +95,7 @@ if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then
fi
cat $CWD/$PRGNAM-notebook.desktop > $PKG/usr/share/applications/$PRGNAM-notebook.desktop
cp data/extcode/notebook/images/sageicon.png $PKG/usr/share/pixmaps/
cp devel/sage-main/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

View file

@ -1,8 +1,8 @@
PRGNAM="sage"
VERSION="5.3"
VERSION="5.12"
HOMEPAGE="http://www.sagemath.org"
DOWNLOAD="http://sage.math.washington.edu/home/release/sage-5.3/sage-5.3.tar"
MD5SUM="0de76f570c405ecfaa46839803978542"
DOWNLOAD="http://sage.math.washington.edu/home/release/sage-5.12/sage-5.12.tar"
MD5SUM="21d62a8a61e351c3c124167b3eead46f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""