From 76de68ab2963f7df0cf6a648085fc7ce6b2a7b9a Mon Sep 17 00:00:00 2001
From: David Garfias <jose.garfias@ingenieria.unam.edu>
Date: Wed, 21 Dec 2022 22:45:20 -0600
Subject: [PATCH] Updated tar file download source

---
 .SRCINFO | 4 ++--
 PKGBUILD | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 3601bc6..9bc3534 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.1
-	pkgrel = 4
+	pkgrel = 5
 	url = https://www.scilab.org
 	arch = x86_64
 	license = GPL
@@ -11,7 +11,7 @@ pkgbase = scilab-bin
 	conflicts = scilab
 	conflicts = scilab-git
 	options = !strip
-	source = https://www.scilab.org/download/6.1.1/scilab-6.1.1.bin.linux-x86_64.tar.gz
+	source = https://oos.eu-west-2.outscale.com/scilab-releases/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 021877b..8bcc2b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
 pkgname=scilab-bin
 _pkgname=${pkgname%-bin}
 pkgver=6.1.1
-pkgrel=4
+pkgrel=5
 pkgdesc="A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications."
 arch=("x86_64")
 license=("GPL")
@@ -16,7 +16,8 @@ depends=('ncurses5-compat-libs' 'jre8-openjdk')
 conflicts=('scilab' 'scilab-git')
 provides=('scilab')
 options=(!strip)
-source=("https://www.scilab.org/download/${pkgver}/scilab-${pkgver}.bin.linux-x86_64.tar.gz")
+# From Scilab downloads page (https://www.scilab.org/download/)
+source=("https://oos.eu-west-2.outscale.com/scilab-releases/${pkgver}/scilab-${pkgver}.bin.linux-x86_64.tar.gz")
 sha256sums=("3ee1a7cf661d021ae26afc27b9fe50cb2d1c9c27911e5582e9d4337ebedb2c79")
 
 prepare() {