mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
973 B
Bash
28 lines
973 B
Bash
pkgname=scilab
|
|
pkgver=6.0.0
|
|
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=('1c7fe6c7aef2d20c0309898608408c28f553a673'
|
|
'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"
|
|
}
|