[arch-commits] Commit in julia/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Mar 6 17:47:49 UTC 2017


    Date: Monday, March 6, 2017 @ 17:47:48
  Author: arojas
Revision: 215136

Update to 0.5.1

Modified:
  julia/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-06 17:47:16 UTC (rev 215135)
+++ PKGBUILD	2017-03-06 17:47:48 UTC (rev 215136)
@@ -7,7 +7,7 @@
 
 pkgbase=julia
 pkgname=('julia' 'julia-docs')
-pkgver=0.5.0
+pkgver=0.5.1
 pkgrel=1
 epoch=2
 arch=('x86_64' 'i686')
@@ -14,10 +14,13 @@
 pkgdesc='High-level, high-performance, dynamic programming language'
 url='http://julialang.org/'
 license=('MIT')
-makedepends=('gcc-fortran' 'python2' 'libuv' 'git' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw' 'gmp' 'mpfr' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2' 'libgit2' 'openssl')
+makedepends=('gcc-fortran' 'python2' 'libuv' 'blas' 'lapack' 'arpack' 'libunwind' 'fftw'
+             'gmp' 'mpfr' 'zlib' 'suitesparse' 'patchelf' 'cmake' 'pcre2' 'libgit2' 'openssl')
 options=('!emptydirs' 'staticlibs')
-source=("git://github.com/JuliaLang/julia.git#tag=v$pkgver")
-sha256sums=('SKIP')
+source=("https://github.com/JuliaLang/julia/releases/download/v$pkgver/julia-$pkgver.tar.gz"{,.asc})
+sha256sums=('805e97aef179fd5bea2bc906128369d113a30bb9a165cef70b67f2fc3f3c35a9'
+            'SKIP')
+validpgpkeys=('3673DF529D9049477F76B37566E3C7DC03D6E495') # Julia (Binary signing key) <buildbot at julialang.org>
 
 prepare() {
   # For /etc/ld.so.conf.d/
@@ -35,7 +38,9 @@
   else
     export M="x86-64"
   fi
-  make -C "$pkgname" prefix=/usr sysconfdir=/etc \
+
+  cd julia-$pkgver
+  make prefix=/usr sysconfdir=/etc \
     MARCH=$M \
     USE_SYSTEM_LLVM=0 \
     USE_SYSTEM_LIBUNWIND=1 \
@@ -77,7 +82,8 @@
     export M="x86-64"
   fi
 
-  make -C "$pkgname" DESTDIR="$pkgdir" \
+  cd julia-$pkgver
+  make DESTDIR="$pkgdir" \
     prefix=/usr sysconfdir=/etc  \
     MARCH=$M \
     USE_SYSTEM_LLVM=0 \
@@ -107,7 +113,7 @@
   rm -rvf "$pkgdir/usr/share/julia/doc/man"
 
   # For /etc/ld.so.conf.d, FS#41731
-  install -Dm644 julia.conf "$pkgdir/etc/ld.so.conf.d/julia.conf"
+  install -Dm644 "$srcdir"/julia.conf "$pkgdir/etc/ld.so.conf.d/julia.conf"
 
   # Documentation and examples are in the julia-docs package
   rm -rvf "$pkgdir/usr/share/doc/"
@@ -114,13 +120,12 @@
   rm -rvf "$pkgdir/usr/share/julia/doc/"
   rm -rvf "$pkgdir/usr/share/julia/examples/"
 
-  cd "$pkgname"
   install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
 }
 
 package_julia-docs() {
   pkgdesc='Documentation and examples for Julia'
-  cd "$pkgbase"
+  cd julia-$pkgver
 
   install -d "$pkgdir/usr/share/doc"
   cp -rv doc "$pkgdir/usr/share/doc/$pkgbase"
@@ -127,6 +132,3 @@
   cp -rv examples "$pkgdir/usr/share/doc/$pkgbase/examples"
   install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
 }
-
-# getver: julialang.org/downloads
-# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list