upgraded to version 6.0.0
This commit is contained in:
parent
17d132b3f6
commit
fa768da9ad
16
.SRCINFO
16
.SRCINFO
@ -1,18 +1,18 @@
|
|||||||
pkgbase = scilab-bin
|
pkgbase = scilab-bin
|
||||||
pkgdesc = A scientific software package for numerical computations.
|
pkgdesc = A software package for numerical computation, providing a powerful computing environment for engineering and scientific applications.
|
||||||
pkgver = 5.5.2
|
pkgver = 6.0.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://www.scilab.org
|
url = https://www.scilab.org
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = i686
|
arch = i686
|
||||||
license = BSD
|
license = BSD
|
||||||
license = custom:CeCILL
|
license = custom:CeCILL
|
||||||
source = scilab.sh
|
conflicts = scilab
|
||||||
md5sums = 32bba7f8af6ead4bdacfe40a67d4b30e
|
options = !strip
|
||||||
source_x86_64 = http://www.scilab.org/download/5.5.2/scilab-5.5.2.bin.linux-x86_64.tar.gz
|
source_x86_64 = http://www.scilab.org/download/6.0.0/scilab-6.0.0.bin.linux-x86_64.tar.gz
|
||||||
md5sums_x86_64 = c24553bc2bf9871d71decd99c2d73d78
|
sha256sums_x86_64 = 2d09e7ae7b7e01ef4e56fa138ebeaac78f225c3e657c569a09bfff67117de7d6
|
||||||
source_i686 = http://www.scilab.org/download/5.5.2/scilab-5.5.2.bin.linux-i686.tar.gz
|
source_i686 = http://www.scilab.org/download/6.0.0/scilab-6.0.0.bin.linux-x86_64.tar.gz
|
||||||
md5sums_i686 = 71d794854e85d484b12a8b8c954f03c4
|
sha256sums_i686 = c61bd5dd8f02675649e198dccb32ba7b114a254e984b48f73e7aaf8ddb8f1b52
|
||||||
|
|
||||||
pkgname = scilab-bin
|
pkgname = scilab-bin
|
||||||
|
|
||||||
|
50
PKGBUILD
50
PKGBUILD
@ -1,38 +1,40 @@
|
|||||||
# Maintainer: Marcel Hasler <mahasler at gmail dot com>
|
# Maintainer : George Eleftheriou <eleftg>
|
||||||
|
# Contributor : Marcel Hasler <mahasler at gmail dot com>
|
||||||
|
|
||||||
pkgname=scilab-bin
|
pkgname=scilab-bin
|
||||||
pkgver=5.5.2
|
_pkgname=${pkgname%-bin}
|
||||||
|
pkgver=6.0.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A scientific software package for numerical computations."
|
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")
|
||||||
url="https://www.scilab.org"
|
url="https://www.scilab.org"
|
||||||
|
|
||||||
source=("scilab.sh")
|
|
||||||
md5sums=("32bba7f8af6ead4bdacfe40a67d4b30e")
|
|
||||||
|
|
||||||
source_x86_64=("http://www.scilab.org/download/${pkgver}/scilab-${pkgver}.bin.linux-x86_64.tar.gz")
|
|
||||||
md5sums_x86_64=("c24553bc2bf9871d71decd99c2d73d78")
|
|
||||||
|
|
||||||
source_i686=("http://www.scilab.org/download/${pkgver}/scilab-${pkgver}.bin.linux-i686.tar.gz")
|
|
||||||
md5sums_i686=("71d794854e85d484b12a8b8c954f03c4")
|
|
||||||
|
|
||||||
# Standalone package
|
# Standalone package
|
||||||
depends=()
|
depends=()
|
||||||
|
conflicts=('scilab')
|
||||||
|
options=(!strip)
|
||||||
|
source_x86_64=("http://www.scilab.org/download/${pkgver}/scilab-${pkgver}.bin.linux-${CARCH}.tar.gz")
|
||||||
|
source_i686=("http://www.scilab.org/download/${pkgver}/scilab-${pkgver}.bin.linux-${CARCH}.tar.gz")
|
||||||
|
sha256sums_x86_64=("2d09e7ae7b7e01ef4e56fa138ebeaac78f225c3e657c569a09bfff67117de7d6")
|
||||||
|
sha256sums_i686=("c61bd5dd8f02675649e198dccb32ba7b114a254e984b48f73e7aaf8ddb8f1b52")
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}/share/applications"
|
||||||
|
sed -i "s|Exec=scilab-adv-cli|Exec=/opt/scilab/bin/scilab-adv-cli|" scilab-adv-cli.desktop
|
||||||
|
sed -i "s|Exec=scilab-cli|Exec=/opt/scilab/bin/scilab-cli|" scilab-cli.desktop
|
||||||
|
sed -i "s|Exec=scilab -f|Exec=/opt/scilab/bin/scilab -f %f|" scilab.desktop
|
||||||
|
sed -i "s|Exec=scinotes|Exec=/opt/scilab/bin/scinotes|" scinotes.desktop
|
||||||
|
sed -i "s|Exec=xcos|Exec=/opt/scilab/bin/xcos|" xcos.desktop
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}"
|
|
||||||
|
|
||||||
install -d "${pkgdir}/opt"
|
install -d "${pkgdir}/opt"
|
||||||
cp -r "${srcdir}/scilab-${pkgver}" "${pkgdir}/opt/scilab"
|
cp -a "${srcdir}/${_pkgname}-${pkgver}" "${pkgdir}/opt/${_pkgname}"
|
||||||
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
install -Dm 644 "${srcdir}/scilab-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING"
|
||||||
|
|
||||||
install -d "${pkgdir}/usr/share/applications"
|
install -d "${pkgdir}/usr/share/applications"
|
||||||
install -Dm 644 "${srcdir}/scilab-${pkgver}/share/applications/scilab.desktop" "${pkgdir}/usr/share/applications/scilab.desktop"
|
install -Dm 644 share/applications/*.desktop "${pkgdir}/usr/share/applications"
|
||||||
|
|
||||||
install -d "${pkgdir}/usr/share/icons"
|
install -d "${pkgdir}/usr/share/icons"
|
||||||
cp -r "${srcdir}/scilab-${pkgver}/share/icons/hicolor" "${pkgdir}/usr/share/icons/"
|
cp -a share/icons/hicolor "${pkgdir}/usr/share/icons"
|
||||||
|
|
||||||
install -Dm 755 scilab.sh "${pkgdir}/usr/bin/scilab"
|
|
||||||
}
|
}
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
LD_LIBRARY_PATH+=:/opt/scilab /opt/scilab/bin/scilab "$@"
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user