summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2017-08-06 11:15:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:57:30 +0700
commit9e1102bd9065c5556725e67107c0681eb7f3db1a (patch)
tree1cef20b6f542e0d014c2c15c7eea1ee3b900c7b8
parent29f88f59fd418bfeedf57fe644de058cfd0d3794 (diff)
downloadslackbuilds-9e1102bd9065c5556725e67107c0681eb7f3db1a.tar.gz
academic/scilab: Updated for version 6.0.0 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--academic/scilab/doinst.sh9
-rw-r--r--academic/scilab/scilab.SlackBuild5
-rw-r--r--academic/scilab/scilab.info16
3 files changed, 19 insertions, 11 deletions
diff --git a/academic/scilab/doinst.sh b/academic/scilab/doinst.sh
index 4e8ba7071d..aea0f894eb 100644
--- a/academic/scilab/doinst.sh
+++ b/academic/scilab/doinst.sh
@@ -2,3 +2,12 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/academic/scilab/scilab.SlackBuild b/academic/scilab/scilab.SlackBuild
index 762d9b2dfa..c519a10aab 100644
--- a/academic/scilab/scilab.SlackBuild
+++ b/academic/scilab/scilab.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scilab
-VERSION=${VERSION:-5.5.2}
+VERSION=${VERSION:-6.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,8 +69,7 @@ mv lib/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}
mv share/applications share/icons share/mime $PKG/usr/share/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv *.txt ACKNOWLEDGE* CHANGES* COPYING* README* RELEASE* \
- $PKG/usr/doc/$PRGNAM-$VERSION
+mv ACKNOWLEDGE* CHANGES* COPYING* README* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/academic/scilab/scilab.info b/academic/scilab/scilab.info
index 4b0065038c..b4c0dce497 100644
--- a/academic/scilab/scilab.info
+++ b/academic/scilab/scilab.info
@@ -1,10 +1,10 @@
PRGNAM="scilab"
-VERSION="5.5.2"
-HOMEPAGE="http://scilab.org"
-DOWNLOAD="http://www.scilab.org/download/5.5.2/scilab-5.5.2.bin.linux-i686.tar.gz"
-MD5SUM="71d794854e85d484b12a8b8c954f03c4"
-DOWNLOAD_x86_64="http://www.scilab.org/download/5.5.2/scilab-5.5.2.bin.linux-x86_64.tar.gz"
-MD5SUM_x86_64="c24553bc2bf9871d71decd99c2d73d78"
+VERSION="6.0.0"
+HOMEPAGE="http://www.scilab.org"
+DOWNLOAD="http://www.scilab.org/download/6.0.0/scilab-6.0.0.bin.linux-i686.tar.gz"
+MD5SUM="94849b3456ffaca86b65f06332aec3cd"
+DOWNLOAD_x86_64="http://www.scilab.org/download/6.0.0/scilab-6.0.0.bin.linux-x86_64.tar.gz"
+MD5SUM_x86_64="6095de25900c860c5ddceeef652bbf6a"
REQUIRES="jdk"
-MAINTAINER="Fridrich von Stauffenberg"
-EMAIL="cancellor2@gmail.com"
+MAINTAINER="Edward W. Koenig"
+EMAIL="kingbeowulf@gmail.com"