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

Alexander Rødseth arodseth at archlinux.org
Fri Dec 22 21:56:26 UTC 2017


    Date: Friday, December 22, 2017 @ 21:56:25
  Author: arodseth
Revision: 275571

upgpkg: julia 2:0.6.2-1

Modified:
  julia/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 20:50:38 UTC (rev 275570)
+++ PKGBUILD	2017-12-22 21:56:25 UTC (rev 275571)
@@ -8,8 +8,8 @@
 pkgbase=julia
 pkgname=('julia' 'julia-docs')
 epoch=2
-pkgver=0.6.1
-pkgrel=4
+pkgver=0.6.2
+pkgrel=1
 arch=('x86_64')
 pkgdesc='High-level, high-performance, dynamic programming language'
 url='https://julialang.org/'
@@ -19,7 +19,7 @@
 source=("https://github.com/JuliaLang/$pkgbase/releases/download/v$pkgver/$pkgbase-$pkgver-full.tar.gz"{,.asc}
         julia-libunwind-version.patch
         julia-makefile.patch)
-sha256sums=('75289fd8f5fb04bd10c9ca16853d9f0e72bb683639ff448dbb8f67a81dc4fc0e'
+sha256sums=('1e34c13091c9ddb47cf87a51566d94a06613f3db3c483b8f63b276e416dd621b'
             'SKIP'
             '16009ce454f58463464027cbaf6186ccfab84c37660a52fb1ec3a0f514df64f9'
             '342b43532fbace3508688eee879113160e01cbbda29610b53f2f34796bc0312a')
@@ -29,7 +29,7 @@
   # For /etc/ld.so.conf.d/
   echo '/usr/lib/julia' > julia.conf
 
-  cd julia
+  cd "$pkgbase-$pkgver"
   patch -p1 -i ../julia-libunwind-version.patch
   sed -e 's|-lLLVM|-lLLVM-3.9|' -i src/Makefile # link against llvm39
   patch -p0 -i ../julia-makefile.patch # make 'make install' really just install
@@ -42,7 +42,7 @@
 
   unset ARCH
 
-  make -C julia \
+  make -C "$pkgbase-$pkgver" \
     prefix=/usr \
     sysconfdir=/etc \
     MARCH="x86-64" \
@@ -82,7 +82,7 @@
 
   unset ARCH
 
-  make -C julia \
+  make -C "$pkgbase-$pkgver" \
     DESTDIR="$pkgdir" \
     prefix=/usr \
     sysconfdir=/etc  \
@@ -122,7 +122,7 @@
   rm -rvf "$pkgdir/usr/share/julia/examples/"
 
   # License
-  install -Dm644 julia/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+  install -Dm644 "$pkgbase-$pkgver"/LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
 
   # Minor improvement
   patchelf --set-rpath /usr/lib "$pkgdir/usr/bin/julia"
@@ -131,7 +131,7 @@
 package_julia-docs() {
   pkgdesc='Documentation and examples for Julia'
 
-  cd "$pkgbase"
+  cd "$pkgbase-$pkgver"
 
   install -d "$pkgdir/usr/share/doc"
   cp -rv doc "$pkgdir/usr/share/doc/$pkgbase"



More information about the arch-commits mailing list