summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/scilab/scilab.SlackBuild15
-rw-r--r--academic/scilab/scilab.info10
2 files changed, 10 insertions, 15 deletions
diff --git a/academic/scilab/scilab.SlackBuild b/academic/scilab/scilab.SlackBuild
index 37d7366fc1..defdc1f9a1 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
diff --git a/academic/scilab/scilab.info b/academic/scilab/scilab.info
index c160ab6551..391c90651b 100644
--- a/academic/scilab/scilab.info
+++ b/academic/scilab/scilab.info
@@ -1,10 +1,10 @@
PRGNAM="scilab"
-VERSION="5.4.1"
+VERSION="5.5.0"
HOMEPAGE="http://scilab.org"
-DOWNLOAD="http://www.scilab.org/download/5.4.1/scilab-5.4.1.bin.linux-i686.tar.gz"
-MD5SUM="fe51ded9c7f2804e3992054edbae2bfa"
-DOWNLOAD_x86_64="http://www.scilab.org/download/5.4.1/scilab-5.4.1.bin.linux-x86_64.tar.gz"
-MD5SUM_x86_64="63d64dc8fe367d5098df12fbaad6b7e7"
+DOWNLOAD="http://www.scilab.org/download/5.5.0/scilab-5.5.0.bin.linux-i686.tar.gz"
+MD5SUM="0f4e9125e0504cb8fb63918394abef12"
+DOWNLOAD_x86_64="http://www.scilab.org/download/5.5.0/scilab-5.5.0.bin.linux-x86_64.tar.gz"
+MD5SUM_x86_64="789fdcbbf0447690d3ddd3369b375650"
REQUIRES="jdk"
MAINTAINER="Fridrich von Stauffenberg"
EMAIL="cancellor2@gmail.com"