From 918f212825c5435981ad1cfb8ae0cd691fd0f4bc Mon Sep 17 00:00:00 2001 From: George Eleftheriou Date: Mon, 12 Feb 2018 23:56:01 +0100 Subject: [PATCH] Terminal=true to workaround the crash of scilab.desktop --- .SRCINFO | 2 +- PKGBUILD | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index ff67eab..d7d57af 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.0.0 - pkgrel = 3 + pkgrel = 4 url = https://www.scilab.org arch = x86_64 arch = i686 diff --git a/PKGBUILD b/PKGBUILD index ba4fbc9..8b7f2e5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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}"