summaryrefslogtreecommitdiff
path: root/academic/scilab
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2018-08-09 21:24:00 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:09 +0700
commit66f7f0aa09e3ea2b5b2159d7b4b474d384882905 (patch)
tree8693ffb537d917cc048183b61c8380fb551733d7 /academic/scilab
parent59e2ad3e27d9f5ace755f0fda7385ee8d8bea0da (diff)
downloadslackbuilds-66f7f0aa09e3ea2b5b2159d7b4b474d384882905.tar.gz
academic/scilab: Updated for version 6.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/scilab')
-rw-r--r--academic/scilab/scilab-adv-cli.desktop18
-rw-r--r--academic/scilab/scilab-cli.desktop17
-rw-r--r--academic/scilab/scilab.SlackBuild14
-rw-r--r--academic/scilab/scilab.desktop17
-rw-r--r--academic/scilab/scilab.info10
-rw-r--r--academic/scilab/scinotes.desktop16
-rw-r--r--academic/scilab/xcos.desktop15
7 files changed, 98 insertions, 9 deletions
diff --git a/academic/scilab/scilab-adv-cli.desktop b/academic/scilab/scilab-adv-cli.desktop
new file mode 100644
index 0000000000..f7d1aeb37b
--- /dev/null
+++ b/academic/scilab/scilab-adv-cli.desktop
@@ -0,0 +1,18 @@
+[Desktop Entry]
+Comment=Scientific software package for numerical computations
+Comment[fr]=Logiciel scientifique de calcul numérique
+Comment[de]=eine Wissenschaftssoftware für numerische Berechnungen
+Comment[ru]=Научная программа для численных расчётов
+Exec=scilab-adv-cli
+GenericName=Scientific Software Package
+GenericName[fr]=Logiciel de calcul numérique
+GenericName[de]=Wissenschaftssoftware
+GenericName[ru]=Научный программный комплекс
+Icon=scilab.png
+Name=Scilab advanced CLI
+Name[de]=Scilab advanced CLI
+Name[ru]=Scilab передовой CLI
+StartupNotify=false
+Terminal=true
+Type=Application
+Categories=Education;Science;Physics;
diff --git a/academic/scilab/scilab-cli.desktop b/academic/scilab/scilab-cli.desktop
new file mode 100644
index 0000000000..9b3dade991
--- /dev/null
+++ b/academic/scilab/scilab-cli.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Comment=Scientific software package for numerical computations
+Comment[fr]=Logiciel scientifique de calcul numérique
+Comment[de]=eine Wissenschaftssoftware für numerische Berechnungen
+Comment[ru]=Научная программа для численных расчётов
+Exec=scilab-cli
+GenericName=Scientific Software Package
+GenericName[fr]=Logiciel de calcul numérique
+GenericName[de]=Wissenschaftssoftware
+GenericName[ru]=Научный программный комплекс
+Icon=scilab.png
+Name=Scilab CLI
+Name[de]=Scilab CLI
+StartupNotify=false
+Terminal=true
+Type=Application
+Categories=Education;Science;Physics;
diff --git a/academic/scilab/scilab.SlackBuild b/academic/scilab/scilab.SlackBuild
index c519a10aab..bd22d264d9 100644
--- a/academic/scilab/scilab.SlackBuild
+++ b/academic/scilab/scilab.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for Scilab
# Copyright 2011-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2018 Edward W. Koenig ,kingbeowulf@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scilab
-VERSION=${VERSION:-6.0.0}
+VERSION=${VERSION:-6.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,9 +65,14 @@ cat $CWD/profile.d/$PRGNAM.sh > $PKG/etc/profile.d/$PRGNAM.sh
cat $CWD/profile.d/$PRGNAM.csh > $PKG/etc/profile.d/$PRGNAM.csh
chmod 0755 $PKG/etc/profile.d/*
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/share
-mv lib/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}
-mv share/applications share/icons share/mime $PKG/usr/share/
+mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig $PKG/usr/share/{applications,icons,mime}
+mv $PKG/opt/$PRGNAM/lib/pkgconfig $PKG/usr/lib${LIBDIRSUFFIX}
+mv $PKG/opt/$PRGNAM/share/mime $PKG/usr/share
+mv $PKG/opt/$PRGNAM/share/icons $PKG/usr/share
+
+# fix issues with .desktop files due to upstream bugs
+rm -rf $PKG/opt/$PRGNAM/share/applications
+cp -a $CWD/*.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv ACKNOWLEDGE* CHANGES* COPYING* README* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/academic/scilab/scilab.desktop b/academic/scilab/scilab.desktop
new file mode 100644
index 0000000000..fda33acef4
--- /dev/null
+++ b/academic/scilab/scilab.desktop
@@ -0,0 +1,17 @@
+[Desktop Entry]
+Comment=Scientific software package for numerical computations
+Comment[fr]=Logiciel scientifique de calcul numérique
+Comment[de]=eine Wissenschaftssoftware für numerische Berechnungen
+Comment[ru]=Научная программа для численных расчётов
+Exec=scilab -f
+GenericName=Scientific Software Package
+GenericName[fr]=Logiciel de calcul numérique
+GenericName[de]=Wissenschaftssoftware
+GenericName[ru]=Научный программный комплекс
+Icon=scilab.png
+MimeType=application/x-scilab-sci;application/x-scilab-sce;application/x-scilab-tst;application/x-scilab-dem;application/x-scilab-sod;application/x-scilab-xcos;application/x-scilab-zcos;application/x-scilab-bin;application/x-scilab-cosf;application/x-scilab-cos;
+Name=Scilab
+StartupNotify=false
+Terminal=true
+Type=Application
+Categories=Education;Science;Physics;
diff --git a/academic/scilab/scilab.info b/academic/scilab/scilab.info
index b4c0dce497..35dc5123cb 100644
--- a/academic/scilab/scilab.info
+++ b/academic/scilab/scilab.info
@@ -1,10 +1,10 @@
PRGNAM="scilab"
-VERSION="6.0.0"
+VERSION="6.0.1"
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"
+DOWNLOAD="http://www.scilab.org/download/6.0.1/scilab-6.0.1.bin.linux-i686.tar.gz"
+MD5SUM="84c395da3049619396dfa1b151f70566"
+DOWNLOAD_x86_64="http://www.scilab.org/download/6.0.1/scilab-6.0.1.bin.linux-x86_64.tar.gz"
+MD5SUM_x86_64="f1b36ab08b77dfe62e7d60e2f3a06d51"
REQUIRES="jdk"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@gmail.com"
diff --git a/academic/scilab/scinotes.desktop b/academic/scilab/scinotes.desktop
new file mode 100644
index 0000000000..80ec35c152
--- /dev/null
+++ b/academic/scilab/scinotes.desktop
@@ -0,0 +1,16 @@
+[Desktop Entry]
+Comment=Scilab text editor
+Comment[fr]=Editeur de texte Scilab
+Comment[ru]=Текстовый редактор Scilab
+Exec=scinotes
+GenericName=Scientific Software Package
+GenericName[fr]=Logiciel de calcul numérique
+GenericName[de]=Wissenschaftssoftware
+GenericName[ru]=Научный программный комплекс
+Icon=scinotes.png
+MimeType=application/x-scilab-sci;application/x-scilab-sce;application/x-scilab-tst;application/x-scilab-dem;
+Name=Scinotes
+StartupNotify=false
+Terminal=true
+Type=Application
+Categories=Education;Science;Physics;
diff --git a/academic/scilab/xcos.desktop b/academic/scilab/xcos.desktop
new file mode 100644
index 0000000000..aabdba8748
--- /dev/null
+++ b/academic/scilab/xcos.desktop
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Comment=Hybrid simulator
+Comment[ru]=Гибридный симулятор
+Exec=xcos
+GenericName=Scientific Software Package
+GenericName[fr]=Logiciel de calcul numérique
+GenericName[de]=Wissenschaftssoftware
+GenericName[ru]=Научный программный комплекс
+Icon=xcos.png
+MimeType=application/x-scilab-xcos;application/x-scilab-zcos;application/x-scilab-cosf;application/x-scilab-cos;
+Name=Xcos
+StartupNotify=false
+Terminal=true
+Type=Application
+Categories=Education;Science;Physics;