academic/scilab: Updated for version 5.5.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Fridrich von Stauffenberg 2014-04-15 07:26:51 +07:00 committed by Willy Sudiarto Raharjo
parent dacac7bad6
commit 2331fe9a48
2 changed files with 10 additions and 15 deletions

View file

@ -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

View file

@ -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"