Commit 5491693f authored by gnastyle's avatar gnastyle

added scilab

parent 4d6dc069
pkgname=scilab
pkgver=5.5.2
pkgrel=1
pkgdesc="A scientific software package for numerical computations."
arch=('x86_64')
license=('BSD' 'custom:CeCILL')
url='https://www.scilab.org'
source=("http://www.scilab.org/download/${pkgver}/scilab-${pkgver}.bin.linux-x86_64.tar.gz"
'scilab.sh')
sha1sums=('36628b38fbf539a97fe9e7d7ce14aba85a14b0a5'
'e260f24673e645cb4cbfed24ba526ccb5ce84513')
package() {
cd "${srcdir}"
install -d "${pkgdir}/usr/lib/${pkgname}"
cp -r "${srcdir}/scilab-${pkgver}/"* "${pkgdir}/usr/lib/${pkgname}"
install -Dm 644 "${srcdir}/scilab-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
install -Dm 644 "${srcdir}/scilab-${pkgver}/share/applications/scilab.desktop" "${pkgdir}/usr/share/applications/scilab.desktop"
install -d "${pkgdir}/usr/share/icons"
cp -r "${srcdir}/scilab-${pkgver}/share/icons/hicolor" "${pkgdir}/usr/share/icons/"
install -Dm 755 scilab.sh "${pkgdir}/usr/bin/scilab"
}
#!/usr/bin/env bash
LD_LIBRARY_PATH+=:/usr/lib/scilab /usr/lib/scilab/bin/scilab "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment