forgot Terminal=true to also workaround the crash of xcos.desktop :)

This commit is contained in:
George Eleftheriou 2018-02-13 00:00:36 +01:00
parent 918f212825
commit e3c7514733
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 = 4
pkgrel = 5
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=4
pkgrel=5
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")
@ -26,6 +26,7 @@ prepare() {
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}"
}