work-around for upstream bug

This commit is contained in:
George Eleftheriou 2018-01-04 00:26:58 +01:00
parent 8bd5ed55c5
commit a2e0ad2d79
2 changed files with 4 additions and 2 deletions

@ -1,7 +1,7 @@
pkgbase = scilab-bin pkgbase = scilab-bin
pkgdesc = A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications. pkgdesc = A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications.
pkgver = 6.0.0 pkgver = 6.0.0
pkgrel = 2 pkgrel = 3
url = https://www.scilab.org url = https://www.scilab.org
arch = x86_64 arch = x86_64
arch = i686 arch = i686

@ -4,7 +4,7 @@
pkgname=scilab-bin pkgname=scilab-bin
_pkgname=${pkgname%-bin} _pkgname=${pkgname%-bin}
pkgver=6.0.0 pkgver=6.0.0
pkgrel=2 pkgrel=3
pkgdesc="A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications." pkgdesc="A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications."
arch=("x86_64" "i686") arch=("x86_64" "i686")
license=("BSD" "custom:CeCILL") license=("BSD" "custom:CeCILL")
@ -37,4 +37,6 @@ package() {
install -Dm 644 share/applications/*.desktop "${pkgdir}/usr/share/applications" install -Dm 644 share/applications/*.desktop "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/share/icons" install -d "${pkgdir}/usr/share/icons"
cp -a share/icons/hicolor "${pkgdir}/usr/share/icons" cp -a share/icons/hicolor "${pkgdir}/usr/share/icons"
# Fix bug: http://bugzilla.scilab.org/show_bug.cgi?id=15145
rm -f -- "${pkgdir}/opt/${_pkgname}/lib/thirdparty/libz.so"*
} }