summaryrefslogtreecommitdiff
path: root/academic/scilab/scilab.SlackBuild
diff options
context:
space:
mode:
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 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