From 2331fe9a48a9d04d31043750f6aa71ac6658d695 Mon Sep 17 00:00:00 2001 From: Fridrich von Stauffenberg Date: Tue, 15 Apr 2014 07:26:51 +0700 Subject: academic/scilab: Updated for version 5.5.0. Signed-off-by: Willy Sudiarto Raharjo --- academic/scilab/scilab.SlackBuild | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'academic/scilab/scilab.SlackBuild') 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 +# Copyright 2011-2014 Fridrich von Stauffenberg # 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 -- cgit v1.2.3