From d5888a5cdfcb7da3e96823270b4c2b10cc549ac2 Mon Sep 17 00:00:00 2001
From: David Garfias <jose.garfias@ingenieria.unam.edu>
Date: Tue, 20 Jul 2021 10:44:17 -0500
Subject: [PATCH] Upgraded to 6.1.1

---
 .SRCINFO | 9 ++++-----
 PKGBUILD | 8 +++-----
 2 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 3f666cb..1c510a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = scilab-bin
 	pkgdesc = A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications.
-	pkgver = 6.1.0
-	pkgrel = 4
+	pkgver = 6.1.1
+	pkgrel = 1
 	url = https://www.scilab.org
 	arch = x86_64
 	license = BSD
@@ -10,8 +10,7 @@ pkgbase = scilab-bin
 	depends = jre8-openjdk
 	conflicts = scilab
 	options = !strip
-	source = http://www.scilab.org/download/6.1.0/scilab-6.1.0.bin.linux-x86_64.tar.gz
-	sha256sums = 81b4425b08b65d6482eb2d184110acc42d8c6b172b8e30ebd80f5aa795cd2924
+	source = http://www.scilab.org/download/6.1.1/scilab-6.1.1.bin.linux-x86_64.tar.gz
+	sha256sums = 3ee1a7cf661d021ae26afc27b9fe50cb2d1c9c27911e5582e9d4337ebedb2c79
 
 pkgname = scilab-bin
-
diff --git a/PKGBUILD b/PKGBUILD
index 46bfc0a..badc448 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
 
 pkgname=scilab-bin
 _pkgname=${pkgname%-bin}
-pkgver=6.1.0
-pkgrel=4
+pkgver=6.1.1
+pkgrel=1
 pkgdesc="A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications."
 arch=("x86_64")
 license=("BSD" "custom:CeCILL")
@@ -16,17 +16,15 @@ depends=('ncurses5-compat-libs' 'jre8-openjdk')
 conflicts=('scilab')
 options=(!strip)
 source=("http://www.scilab.org/download/${pkgver}/scilab-${pkgver}.bin.linux-x86_64.tar.gz")
-sha256sums=("81b4425b08b65d6482eb2d184110acc42d8c6b172b8e30ebd80f5aa795cd2924")
+sha256sums=("3ee1a7cf661d021ae26afc27b9fe50cb2d1c9c27911e5582e9d4337ebedb2c79")
 
 prepare() {
   cd "${srcdir}/${_pkgname}-${pkgver}/share/applications"
   sed -i "s|Exec=scilab-adv-cli|Exec=/opt/scilab/bin/scilab-adv-cli|" scilab-adv-cli.desktop
   sed -i "s|Exec=scilab-cli|Exec=/opt/scilab/bin/scilab-cli|" scilab-cli.desktop
   sed -i "s|Exec=scilab -f|Exec=/opt/scilab/bin/scilab -f %f|" scilab.desktop
-#  sed -i "s|Terminal=false|Terminal=true|" scilab.desktop
   sed -i "s|Exec=scinotes|Exec=/opt/scilab/bin/scinotes|" scinotes.desktop
   sed -i "s|Exec=xcos|Exec=/opt/scilab/bin/xcos|" xcos.desktop
-#  sed -i "s|Terminal=false|Terminal=true|" xcos.desktop
   cd "${srcdir}/${_pkgname}-${pkgver}"
   rm -R thirdparty/java
 }