Seems like source-code was removed from SciLab page, i had to use the Github repo:
diff --git a/PKGBUILD b/PKGBUILD
index 69e5d00..9606584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,7 +26,7 @@ depends=('suitesparse>=4.4.1' 'arpack' 'fftw' 'eigen'
makedepends=('java-environment=8' 'ant>=1.9.0'
'ocaml-findlib' 'ocaml-num' 'gcc-fortran'
'time')
-source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scilab/scilab/archive/refs/tags/6.1.1.tar.gz"
"${pkgname}-jogl-2.3.2.patch"
"${pkgname}-strict-jar.patch"
"${pkgname}-LD_LIBRARY_PATH.patch"
@@ -35,7 +35,7 @@ source=("${url}/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz"
"libxml.patch"
"hdf5_18_api.patch"
)
-sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
+sha256sums=('83555679b7d56df4aedad60678d97794cc5aefcda8b57206899016b5702607a4'
'7b7b5609ee36b6f8d801eeb3899cd62cc889c2038e0e1616b7640f9b8a0424b0'
'38aa094951338fa1d267dc6f397552e175213b0f8ba7b35727c178607861f6dd'
'a39277cb8cfc3d7929c73ce6d707dc24e3df4b8d8f2d587f075efebda79ff4db'
@@ -45,7 +45,7 @@ sha256sums=('e51347638bd385c276c930785a1f9f079ae7eaa78c62a0eca1dc7e6142434207'
'f781c2919a0c14be5deed3a8b8866addd8de1171a06aacb96ef1e19535d0988e')
prepare(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
# https://codereview.scilab.org/#/c/17530/
patch -p2 < "${srcdir}"/${pkgname}-jogl-2.3.2.patch
@@ -64,7 +64,7 @@ prepare(){
}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
./configure \
--prefix=/usr \
@@ -90,7 +90,7 @@ build() {
}
package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${pkgver}/scilab"
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" install-data install-html
However, i got into a build error lol <quote> configure: error: Could not find or use the Java package/jar lucene-core used by Lucene (looking for package org.apache.lucene.LucenePackage) </quote>
If i manage to fix that, i'll mail you
Pinned Comments
carlosal1015 commented on 2024-11-17 18:01 (UTC)
Open issue https://gitlab.com/scilab/scilab/-/issues/16429