desktop/scilab/PKGBUILD

28 lines
973 B
Bash
Raw Normal View History

2016-03-14 05:26:47 +08:00
pkgname=scilab
2017-02-20 03:14:08 +08:00
pkgver=6.0.0
2016-03-14 05:26:47 +08:00
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')
2017-02-20 03:14:08 +08:00
sha1sums=('1c7fe6c7aef2d20c0309898608408c28f553a673'
2016-03-14 05:26:47 +08:00
'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"
}