From 9e1102bd9065c5556725e67107c0681eb7f3db1a Mon Sep 17 00:00:00 2001 From: "Edward W. Koenig" Date: Sun, 6 Aug 2017 11:15:12 +0100 Subject: academic/scilab: Updated for version 6.0.0 + new maintainer. Signed-off-by: David Spencer --- academic/scilab/doinst.sh | 9 +++++++++ academic/scilab/scilab.SlackBuild | 5 ++--- academic/scilab/scilab.info | 16 ++++++++-------- 3 files changed, 19 insertions(+), 11 deletions(-) (limited to 'academic/scilab') diff --git a/academic/scilab/doinst.sh b/academic/scilab/doinst.sh index 4e8ba7071dea7..aea0f894eb32b 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 762d9b2dfa94e..c519a10aab20a 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 4b0065038c398..b4c0dce497230 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" -- cgit v1.2.3