summaryrefslogtreecommitdiff
path: root/academic/sage/sage.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-06 08:43:06 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-05 19:57:47 -0600
commitce953d09dd5390ec3c365b575960ade33ea29e96 (patch)
tree707d5c04e419b3051962625f45a61e5c37387061 /academic/sage/sage.SlackBuild
parent706f968cafd6b460348ee8e46768dc5e5e5bfdf1 (diff)
downloadslackbuilds-ce953d09dd5390ec3c365b575960ade33ea29e96.tar.gz
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>
Diffstat (limited to 'academic/sage/sage.SlackBuild')
-rw-r--r--academic/sage/sage.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index c9e8451128..5370f4e391 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.SlackBuild
@@ -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