desktop/scilab/PKGBUILD
2016-03-13 22:26:47 +01:00

28 lines
973 B
Bash

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"
}