aboutsummaryrefslogtreecommitdiff
path: root/academic/scilab/scilab.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2014-04-15 07:26:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-15 07:26:51 +0700
commit2331fe9a48a9d04d31043750f6aa71ac6658d695 (patch)
treea51093b6f7a09c95ea5b92ffe1f40f8c8f232393 /academic/scilab/scilab.SlackBuild
parentdacac7bad61d55bbc305159131605822a813a8b4 (diff)
academic/scilab: Updated for version 5.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/scilab/scilab.SlackBuild')
-rw-r--r--academic/scilab/scilab.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/academic/scilab/scilab.SlackBuild b/academic/scilab/scilab.SlackBuild
index 37d7366fc1924..defdc1f9a1aa5 100644
--- a/academic/scilab/scilab.SlackBuild
+++ b/academic/scilab/scilab.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Scilab
-# Copyright 2011-2013 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2011-2014 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scilab
-VERSION=${VERSION:-5.4.1}
+VERSION=${VERSION:-5.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,15 +50,10 @@ set -e
rm -rf $PKG
mkdir -p $OUTPUT $TMP $PKG/opt/$PRGNAM
cd $PKG/opt/$PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.bin.linux-$ARCH.tar.gz \
- --strip-components=1
+tar xvf $CWD/$PRGNAM-$VERSION.bin.linux-$ARCH.tar.gz --strip-components=1
chown -R root:root .
-sed -i "/^Icon/s/=.*\$/=$PRGNAM/;
- /^Categories/s/Development\;//" \
- share/applications/*.desktop
-sed -i "/^prefix/s/=.*\$/=\/opt\/$PRGNAM/" \
- lib/pkgconfig/$PRGNAM.pc
+sed -i "/^prefix/s/=.*\$/=\/opt\/$PRGNAM/" lib/pkgconfig/$PRGNAM.pc
mkdir -p $PKG/etc/profile.d
cat $CWD/profile.d/$PRGNAM.sh > $PKG/etc/profile.d/$PRGNAM.sh
@@ -70,7 +65,7 @@ mv lib/pkgconfig $PKG/usr/lib
mv share/applications share/icons share/mime $PKG/usr/share/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv *.txt ACKNOWLEDGE* COPYING* README* CHANGES* RELEASE* \
+mv *.txt ACKNOWLEDGE* CHANGES* COPYING* README* RELEASE* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild