Terminal=true to workaround the crash of scilab.desktop

This commit is contained in:
George Eleftheriou 2018-02-12 23:56:01 +01:00
parent a2e0ad2d79
commit 918f212825
2 changed files with 3 additions and 2 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.0.0
pkgrel = 3
pkgrel = 4
url = https://www.scilab.org
arch = x86_64
arch = i686

@ -4,7 +4,7 @@
pkgname=scilab-bin
_pkgname=${pkgname%-bin}
pkgver=6.0.0
pkgrel=3
pkgrel=4
pkgdesc="A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications."
arch=("x86_64" "i686")
license=("BSD" "custom:CeCILL")
@ -23,6 +23,7 @@ prepare() {
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
cd "${srcdir}/${_pkgname}-${pkgver}"