Upgraded to 6.1.1

This commit is contained in:
David Garfias 2021-07-20 10:44:17 -05:00
parent b26d39b99e
commit d5888a5cdf
2 changed files with 7 additions and 10 deletions

@ -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

@ -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
}