Date: Saturday, December 10, 2022 @ 08:34:52
  Author: arojas
Revision: 1357310

upgpkg: julia 2:1.8.3-3: Actually make /usr/share/cert.pm a symlink

Modified:
  julia/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-10 08:26:27 UTC (rev 1357309)
+++ PKGBUILD    2022-12-10 08:34:52 UTC (rev 1357310)
@@ -9,7 +9,7 @@
 pkgname=julia
 epoch=2
 pkgver=1.8.3
-pkgrel=2
+pkgrel=3
 arch=(x86_64)
 pkgdesc='High-level, high-performance, dynamic programming language'
 url='https://julialang.org/'
@@ -105,11 +105,11 @@
 build() {
   cd $pkgname-$pkgver
   make release VERBOSE=1 JLDFLAGS=${LDFLAGS} $_buildopts
-  ln -s /etc/ssl/cert.pem usr/share/julia # Needed by some packages
 }
 
 check() {
   cd $pkgname-$pkgver/test
+  ln -s /etc/ssl/cert.pem ../usr/share/julia
 
   # TODO: Remove SuiteSparse from skip list in 1.9 (it is downloaded at build 
time from a separate repo, not easily patchable)
   ../julia --check-bounds=yes --startup-file=no ./runtests.jl \
@@ -134,6 +134,7 @@
   make DESTDIR="$pkgdir" install $_buildopts
 
   ln -s /usr/lib/libopenblas.so "$pkgdir"/usr/lib/julia/libopenblas64_.so # 
Needed by some 3rd party packages
+  ln -sf /etc/ssl/cert.pem "$pkgdir"/usr/share/julia # Needed by some packages
 
   rm "$pkgdir"/usr/lib/julia/libccalltest.so.debug # Remove debug testing 
library
   install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname

Reply via email to