sci-mathematics/scilab-bin: add RDEPEND; copy .desktop files

Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć 2021-03-23 15:19:07 +01:00
parent 1f9bb60e91
commit 1d4432ca9f
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A

View File

@ -5,6 +5,8 @@
EAPI=7
inherit xdg
DESCRIPTION="Scientific software package for numerical computations"
HOMEPAGE="https://www.scilab.org/"
SRC_URI="https://www.scilab.org/download/${PV}/scilab-${PV}.bin.linux-x86_64.tar.gz -> ${P}.tar.gz"
@ -14,7 +16,9 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64"
RDEPEND=""
RDEPEND="
sci-mathematics/scilab-bin
"
S="${WORKDIR}/scilab-${PV}"
@ -28,8 +32,12 @@ src_install() {
done
mkdir -p "${D}/usr/bin" || die
mkdir -p "${D}/usr/share" || die
mkdir -p "${D}/opt/${PN}" || die
cp -R ./share/applications "${D}/usr/share" || die
cp -R ./share/icons "${D}/usr/share" || die
mv * "${D}/opt/${PN}" || die
pushd "${D}/usr/bin" >/dev/null || die