summaryrefslogtreecommitdiffstats
path: root/academic/sage
diff options
context:
space:
mode:
author dsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
committer dsomero <xgizzmo@slackbuilds.org>2013-11-22 02:34:22 -0500
commit687c78d5604ce299d5164ffd69de88f2dd10fefc (patch)
tree2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /academic/sage
parent610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff)
downloadslackbuilds-687c78d5604ce299d5164ffd69de88f2dd10fefc.tar.gz
slackbuilds-687c78d5604ce299d5164ffd69de88f2dd10fefc.tar.xz
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/sage')
-rw-r--r--academic/sage/sage.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index 5370f4e391..76e4fef646 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.SlackBuild
@@ -26,7 +26,7 @@ SAGEROOT=${SAGEROOT:-/opt/sage}
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar
@@ -37,7 +37,7 @@ find -L . \
-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 {} \;
-
+
mkdir -p $PKG/$SAGEROOT $PKG/usr/share/{applications,pixmaps} \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/etc/profile.d
make
@@ -45,7 +45,7 @@ make
# test all examples in the documentation (over 93,000 line of input)
[ "${TEST:-no}" = "yes" ] && make test
-# build the pdf version of the documentation
+# build the pdf version of the documentation
# (Note: this requires a LaTeX installation)
if [ "${PDFDOC:-no}" = "yes" ]; then
./sage -docbuild all pdf
@@ -66,8 +66,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Sage installs specific versions of a number of software components which
-# may be different from the system-wide versions of those components. For
-# this reason, the man and info pages are not moved to /usr/man and
+# may be different from the system-wide versions of those components. For
+# this reason, the man and info pages are not moved to /usr/man and
# /usr/info. To avoid possible conflicts, they are compressed in place.
find $PKG/$SAGEROOT/local/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/$SAGEROOT/local/man -type l ) ; do
@@ -84,8 +84,8 @@ sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.sh > $PKG/etc/profile.d/sage.s
sed "s%SAGEROOT%${SAGEROOT}%" $CWD/profile.d/sage.csh > $PKG/etc/profile.d/sage.csh
chmod 0755 $PKG/etc/profile.d/*
-# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap,
-# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently
+# install scripts to SAGEROOT/bin that allow the internal sage versions of: gap,
+# gp, singular, maxima, M2, kash, mwrank, ipython, hg, and R to be run independently
# and add SAGEROOT/bin to the PATH
if [ "${INSTALLSCRIPTS:-no}" = "yes" ]; then
mkdir $PKG$SAGEROOT/bin