Date: Thursday, September 22, 2016 @ 14:54:15
  Author: arodseth
Revision: 190158

archrelease: copy trunk to community-x86_64, community-i686

Added:
  julia/repos/community-i686/PKGBUILD
    (from rev 190157, julia/trunk/PKGBUILD)
  julia/repos/community-i686/sysfix.install
    (from rev 190157, julia/trunk/sysfix.install)
  julia/repos/community-x86_64/PKGBUILD
    (from rev 190157, julia/trunk/PKGBUILD)
  julia/repos/community-x86_64/sysfix.install
    (from rev 190157, julia/trunk/sysfix.install)
Deleted:
  julia/repos/community-i686/PKGBUILD
  julia/repos/community-i686/sysfix.install
  julia/repos/community-x86_64/PKGBUILD
  julia/repos/community-x86_64/sysfix.install

---------------------------------+
 /PKGBUILD                       |  264 ++++++++++++++++++++++++++++++++++++++
 /sysfix.install                 |   20 ++
 community-i686/PKGBUILD         |  116 ----------------
 community-i686/sysfix.install   |   10 -
 community-x86_64/PKGBUILD       |  116 ----------------
 community-x86_64/sysfix.install |   10 -
 6 files changed, 284 insertions(+), 252 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD     2016-09-22 14:53:07 UTC (rev 190157)
+++ community-i686/PKGBUILD     2016-09-22 14:54:15 UTC (rev 190158)
@@ -1,116 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: Michael Jakl <jakl.mich...@gmail.com>
-# Contributor: devmotion <nospam-archlinux....@devmotion.de>
-# Contributor: Valentin Churavy <v.chur...@gmail.com>
-
-pkgbase=julia
-pkgname=('julia' 'julia-docs')
-pkgver=0.4.6
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-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')
-options=('!emptydirs' 'staticlibs')
-source=("git://github.com/JuliaLang/julia.git#tag=v$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
-  # For /etc/ld.so.conf.d/
-  echo '/usr/lib/julia' > julia.conf
-}
-
-build() {
-  # SSE2 is a requirement for Julia on 32-bit x86
-  if [[ $CARCH == i686 ]]; then
-    export JULIA_CPU_TARGET=pentium4
-  fi
-
-  make -C "$pkgname" prefix=/usr sysconfdir=/etc \
-    MARCH=${CARCH/_/-} \
-    USE_SYSTEM_LLVM=0 \
-    USE_SYSTEM_LIBUNWIND=1 \
-    USE_SYSTEM_PCRE=1 \
-    USE_SYSTEM_LIBM=1 \
-    USE_SYSTEM_OPENLIBM=0 \
-    USE_SYSTEM_OPENSPECFUN=0 \
-    USE_SYSTEM_BLAS=0 \
-    USE_SYSTEM_LAPACK=1 \
-    USE_SYSTEM_FFTW=1 \
-    USE_SYSTEM_GMP=1 \
-    USE_SYSTEM_MPFR=1 \
-    USE_SYSTEM_ARPACK=1 \
-    USE_SYSTEM_SUITESPARSE=1 \
-    USE_SYSTEM_LIBUV=0 \
-    USE_SYSTEM_UTF8PROC=0 \
-    USE_INTEL_MKL=0 \
-    USE_BLAS64=0 \
-    USE_LLVM_SHLIB=0 \
-    USE_SYSTEM_LIBGIT2=1 \
-    USE_SYSTEM_PATCHELF=1 \
-    USE_SYSTEM_DSFMT=0
-}
-
-package_julia() {
-  backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl')
-  depends=('arpack' 'fftw' 'gmp' 'libunwind' 'mpfr' 'zlib' 'lapack' 
'suitesparse' 'pcre2' 'libgit2' 'openssl' 'patchelf')
-  optdepends=('gnuplot: If using the Gaston Package from julia')
-  install='sysfix.install'
-
-  make -C "$pkgname" DESTDIR="$pkgdir" \
-    prefix=/usr sysconfdir=/etc  \
-    MARCH=${CARCH/_/-} \
-    USE_SYSTEM_LLVM=0 \
-    USE_SYSTEM_LIBUNWIND=1 \
-    USE_SYSTEM_PCRE=1 \
-    USE_SYSTEM_LIBM=1 \
-    USE_SYSTEM_OPENLIBM=0 \
-    USE_SYSTEM_OPENSPECFUN=0 \
-    USE_SYSTEM_BLAS=0 \
-    USE_SYSTEM_LAPACK=1 \
-    USE_SYSTEM_FFTW=1 \
-    USE_SYSTEM_GMP=1 \
-    USE_SYSTEM_MPFR=1 \
-    USE_SYSTEM_ARPACK=1 \
-    USE_SYSTEM_SUITESPARSE=1 \
-    USE_SYSTEM_LIBUV=0 \
-    USE_SYSTEM_UTF8PROC=0 \
-    USE_INTEL_MKL=0 \
-    USE_BLAS64=0 \
-    USE_LLVM_SHLIB=0 \
-    USE_SYSTEM_LIBGIT2=1 \
-    USE_SYSTEM_PATCHELF=1 \
-    USE_SYSTEM_DSFMT=0 \
-    install
-
-  # Remove duplicate man-page from julia/doc
-  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"
-
-  # Documentation and examples are in the julia-docs package
-  rm -rvf "$pkgdir/usr/share/doc/"
-  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"
-
-  install -d "$pkgdir/usr/share/doc"
-  cp -rv doc "$pkgdir/usr/share/doc/$pkgbase"
-  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:

Copied: julia/repos/community-i686/PKGBUILD (from rev 190157, 
julia/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2016-09-22 14:54:15 UTC (rev 190158)
@@ -0,0 +1,132 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Michael Jakl <jakl.mich...@gmail.com>
+# Contributor: devmotion <nospam-archlinux....@devmotion.de>
+# Contributor: Valentin Churavy <v.chur...@gmail.com>
+
+pkgbase=julia
+pkgname=('julia' 'julia-docs')
+pkgver=0.5.0
+pkgrel=1
+epoch=2
+arch=('x86_64' 'i686')
+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')
+options=('!emptydirs' 'staticlibs')
+source=("git://github.com/JuliaLang/julia.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  # For /etc/ld.so.conf.d/
+  echo '/usr/lib/julia' > julia.conf
+}
+
+build() {
+  # Make sure not to set -march
+  export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+  export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+
+  # SSE2 is a requirement for Julia on 32-bit x86
+  if [[ $CARCH == i686 ]]; then
+    export M=pentium4
+  else
+    export M="x86-64"
+  fi
+  make -C "$pkgname" prefix=/usr sysconfdir=/etc \
+    MARCH=$M \
+    USE_SYSTEM_LLVM=0 \
+    USE_SYSTEM_LIBUNWIND=1 \
+    USE_SYSTEM_PCRE=1 \
+    USE_SYSTEM_LIBM=1 \
+    USE_SYSTEM_OPENLIBM=0 \
+    USE_SYSTEM_OPENSPECFUN=0 \
+    USE_SYSTEM_BLAS=0 \
+    USE_SYSTEM_LAPACK=1 \
+    USE_SYSTEM_FFTW=1 \
+    USE_SYSTEM_GMP=1 \
+    USE_SYSTEM_MPFR=1 \
+    USE_SYSTEM_ARPACK=1 \
+    USE_SYSTEM_SUITESPARSE=1 \
+    USE_SYSTEM_LIBUV=0 \
+    USE_SYSTEM_UTF8PROC=0 \
+    USE_INTEL_MKL=0 \
+    USE_BLAS64=0 \
+    USE_LLVM_SHLIB=0 \
+    USE_SYSTEM_LIBGIT2=1 \
+    USE_SYSTEM_PATCHELF=1 \
+    USE_SYSTEM_DSFMT=0
+}
+
+package_julia() {
+  backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl')
+  depends=('arpack' 'fftw' 'gmp' 'libunwind' 'mpfr' 'zlib' 'lapack' 
'suitesparse' 'pcre2' 'libgit2' 'openssl' 'patchelf')
+  optdepends=('gnuplot: If using the Gaston Package from julia')
+  install='sysfix.install'
+
+  # Make sure not to set -march
+  export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+  export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+
+  # SSE2 is a requirement for Julia on 32-bit x86
+  if [[ $CARCH == i686 ]]; then
+    export M=pentium4
+  else
+    export M="x86-64"
+  fi
+
+  make -C "$pkgname" DESTDIR="$pkgdir" \
+    prefix=/usr sysconfdir=/etc  \
+    MARCH=$M \
+    USE_SYSTEM_LLVM=0 \
+    USE_SYSTEM_LIBUNWIND=1 \
+    USE_SYSTEM_PCRE=1 \
+    USE_SYSTEM_LIBM=1 \
+    USE_SYSTEM_OPENLIBM=0 \
+    USE_SYSTEM_OPENSPECFUN=0 \
+    USE_SYSTEM_BLAS=0 \
+    USE_SYSTEM_LAPACK=1 \
+    USE_SYSTEM_FFTW=1 \
+    USE_SYSTEM_GMP=1 \
+    USE_SYSTEM_MPFR=1 \
+    USE_SYSTEM_ARPACK=1 \
+    USE_SYSTEM_SUITESPARSE=1 \
+    USE_SYSTEM_LIBUV=0 \
+    USE_SYSTEM_UTF8PROC=0 \
+    USE_INTEL_MKL=0 \
+    USE_BLAS64=0 \
+    USE_LLVM_SHLIB=0 \
+    USE_SYSTEM_LIBGIT2=1 \
+    USE_SYSTEM_PATCHELF=1 \
+    USE_SYSTEM_DSFMT=0 \
+    install
+
+  # Remove duplicate man-page from julia/doc
+  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"
+
+  # Documentation and examples are in the julia-docs package
+  rm -rvf "$pkgdir/usr/share/doc/"
+  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"
+
+  install -d "$pkgdir/usr/share/doc"
+  cp -rv doc "$pkgdir/usr/share/doc/$pkgbase"
+  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:

Deleted: community-i686/sysfix.install
===================================================================
--- community-i686/sysfix.install       2016-09-22 14:53:07 UTC (rev 190157)
+++ community-i686/sysfix.install       2016-09-22 14:54:15 UTC (rev 190158)
@@ -1,10 +0,0 @@
-post_install() {
-  # Removing sys.so if needed, in order for Julia to start, see FS#39721
-  julia --version 2>/dev/null || rm /usr/lib/julia/sys.so
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: julia/repos/community-i686/sysfix.install (from rev 190157, 
julia/trunk/sysfix.install)
===================================================================
--- community-i686/sysfix.install                               (rev 0)
+++ community-i686/sysfix.install       2016-09-22 14:54:15 UTC (rev 190158)
@@ -0,0 +1,10 @@
+post_install() {
+  # Removing sys.so if needed, in order for Julia to start, see FS#39721
+  julia --version 2>/dev/null || rm /usr/lib/julia/sys.so
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD   2016-09-22 14:53:07 UTC (rev 190157)
+++ community-x86_64/PKGBUILD   2016-09-22 14:54:15 UTC (rev 190158)
@@ -1,116 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: Michael Jakl <jakl.mich...@gmail.com>
-# Contributor: devmotion <nospam-archlinux....@devmotion.de>
-# Contributor: Valentin Churavy <v.chur...@gmail.com>
-
-pkgbase=julia
-pkgname=('julia' 'julia-docs')
-pkgver=0.4.6
-pkgrel=1
-epoch=2
-arch=('x86_64' 'i686')
-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')
-options=('!emptydirs' 'staticlibs')
-source=("git://github.com/JuliaLang/julia.git#tag=v$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
-  # For /etc/ld.so.conf.d/
-  echo '/usr/lib/julia' > julia.conf
-}
-
-build() {
-  # SSE2 is a requirement for Julia on 32-bit x86
-  if [[ $CARCH == i686 ]]; then
-    export JULIA_CPU_TARGET=pentium4
-  fi
-
-  make -C "$pkgname" prefix=/usr sysconfdir=/etc \
-    MARCH=${CARCH/_/-} \
-    USE_SYSTEM_LLVM=0 \
-    USE_SYSTEM_LIBUNWIND=1 \
-    USE_SYSTEM_PCRE=1 \
-    USE_SYSTEM_LIBM=1 \
-    USE_SYSTEM_OPENLIBM=0 \
-    USE_SYSTEM_OPENSPECFUN=0 \
-    USE_SYSTEM_BLAS=0 \
-    USE_SYSTEM_LAPACK=1 \
-    USE_SYSTEM_FFTW=1 \
-    USE_SYSTEM_GMP=1 \
-    USE_SYSTEM_MPFR=1 \
-    USE_SYSTEM_ARPACK=1 \
-    USE_SYSTEM_SUITESPARSE=1 \
-    USE_SYSTEM_LIBUV=0 \
-    USE_SYSTEM_UTF8PROC=0 \
-    USE_INTEL_MKL=0 \
-    USE_BLAS64=0 \
-    USE_LLVM_SHLIB=0 \
-    USE_SYSTEM_LIBGIT2=1 \
-    USE_SYSTEM_PATCHELF=1 \
-    USE_SYSTEM_DSFMT=0
-}
-
-package_julia() {
-  backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl')
-  depends=('arpack' 'fftw' 'gmp' 'libunwind' 'mpfr' 'zlib' 'lapack' 
'suitesparse' 'pcre2' 'libgit2' 'openssl' 'patchelf')
-  optdepends=('gnuplot: If using the Gaston Package from julia')
-  install='sysfix.install'
-
-  make -C "$pkgname" DESTDIR="$pkgdir" \
-    prefix=/usr sysconfdir=/etc  \
-    MARCH=${CARCH/_/-} \
-    USE_SYSTEM_LLVM=0 \
-    USE_SYSTEM_LIBUNWIND=1 \
-    USE_SYSTEM_PCRE=1 \
-    USE_SYSTEM_LIBM=1 \
-    USE_SYSTEM_OPENLIBM=0 \
-    USE_SYSTEM_OPENSPECFUN=0 \
-    USE_SYSTEM_BLAS=0 \
-    USE_SYSTEM_LAPACK=1 \
-    USE_SYSTEM_FFTW=1 \
-    USE_SYSTEM_GMP=1 \
-    USE_SYSTEM_MPFR=1 \
-    USE_SYSTEM_ARPACK=1 \
-    USE_SYSTEM_SUITESPARSE=1 \
-    USE_SYSTEM_LIBUV=0 \
-    USE_SYSTEM_UTF8PROC=0 \
-    USE_INTEL_MKL=0 \
-    USE_BLAS64=0 \
-    USE_LLVM_SHLIB=0 \
-    USE_SYSTEM_LIBGIT2=1 \
-    USE_SYSTEM_PATCHELF=1 \
-    USE_SYSTEM_DSFMT=0 \
-    install
-
-  # Remove duplicate man-page from julia/doc
-  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"
-
-  # Documentation and examples are in the julia-docs package
-  rm -rvf "$pkgdir/usr/share/doc/"
-  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"
-
-  install -d "$pkgdir/usr/share/doc"
-  cp -rv doc "$pkgdir/usr/share/doc/$pkgbase"
-  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:

Copied: julia/repos/community-x86_64/PKGBUILD (from rev 190157, 
julia/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2016-09-22 14:54:15 UTC (rev 190158)
@@ -0,0 +1,132 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xypr...@archlinux.org>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Michael Jakl <jakl.mich...@gmail.com>
+# Contributor: devmotion <nospam-archlinux....@devmotion.de>
+# Contributor: Valentin Churavy <v.chur...@gmail.com>
+
+pkgbase=julia
+pkgname=('julia' 'julia-docs')
+pkgver=0.5.0
+pkgrel=1
+epoch=2
+arch=('x86_64' 'i686')
+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')
+options=('!emptydirs' 'staticlibs')
+source=("git://github.com/JuliaLang/julia.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  # For /etc/ld.so.conf.d/
+  echo '/usr/lib/julia' > julia.conf
+}
+
+build() {
+  # Make sure not to set -march
+  export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+  export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+
+  # SSE2 is a requirement for Julia on 32-bit x86
+  if [[ $CARCH == i686 ]]; then
+    export M=pentium4
+  else
+    export M="x86-64"
+  fi
+  make -C "$pkgname" prefix=/usr sysconfdir=/etc \
+    MARCH=$M \
+    USE_SYSTEM_LLVM=0 \
+    USE_SYSTEM_LIBUNWIND=1 \
+    USE_SYSTEM_PCRE=1 \
+    USE_SYSTEM_LIBM=1 \
+    USE_SYSTEM_OPENLIBM=0 \
+    USE_SYSTEM_OPENSPECFUN=0 \
+    USE_SYSTEM_BLAS=0 \
+    USE_SYSTEM_LAPACK=1 \
+    USE_SYSTEM_FFTW=1 \
+    USE_SYSTEM_GMP=1 \
+    USE_SYSTEM_MPFR=1 \
+    USE_SYSTEM_ARPACK=1 \
+    USE_SYSTEM_SUITESPARSE=1 \
+    USE_SYSTEM_LIBUV=0 \
+    USE_SYSTEM_UTF8PROC=0 \
+    USE_INTEL_MKL=0 \
+    USE_BLAS64=0 \
+    USE_LLVM_SHLIB=0 \
+    USE_SYSTEM_LIBGIT2=1 \
+    USE_SYSTEM_PATCHELF=1 \
+    USE_SYSTEM_DSFMT=0
+}
+
+package_julia() {
+  backup=('etc/ld.so.conf.d/julia.conf' 'etc/julia/juliarc.jl')
+  depends=('arpack' 'fftw' 'gmp' 'libunwind' 'mpfr' 'zlib' 'lapack' 
'suitesparse' 'pcre2' 'libgit2' 'openssl' 'patchelf')
+  optdepends=('gnuplot: If using the Gaston Package from julia')
+  install='sysfix.install'
+
+  # Make sure not to set -march
+  export CFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+  export CXXFLAGS="-mtune=generic -O3 -pipe -fstack-protector-strong"
+
+  # SSE2 is a requirement for Julia on 32-bit x86
+  if [[ $CARCH == i686 ]]; then
+    export M=pentium4
+  else
+    export M="x86-64"
+  fi
+
+  make -C "$pkgname" DESTDIR="$pkgdir" \
+    prefix=/usr sysconfdir=/etc  \
+    MARCH=$M \
+    USE_SYSTEM_LLVM=0 \
+    USE_SYSTEM_LIBUNWIND=1 \
+    USE_SYSTEM_PCRE=1 \
+    USE_SYSTEM_LIBM=1 \
+    USE_SYSTEM_OPENLIBM=0 \
+    USE_SYSTEM_OPENSPECFUN=0 \
+    USE_SYSTEM_BLAS=0 \
+    USE_SYSTEM_LAPACK=1 \
+    USE_SYSTEM_FFTW=1 \
+    USE_SYSTEM_GMP=1 \
+    USE_SYSTEM_MPFR=1 \
+    USE_SYSTEM_ARPACK=1 \
+    USE_SYSTEM_SUITESPARSE=1 \
+    USE_SYSTEM_LIBUV=0 \
+    USE_SYSTEM_UTF8PROC=0 \
+    USE_INTEL_MKL=0 \
+    USE_BLAS64=0 \
+    USE_LLVM_SHLIB=0 \
+    USE_SYSTEM_LIBGIT2=1 \
+    USE_SYSTEM_PATCHELF=1 \
+    USE_SYSTEM_DSFMT=0 \
+    install
+
+  # Remove duplicate man-page from julia/doc
+  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"
+
+  # Documentation and examples are in the julia-docs package
+  rm -rvf "$pkgdir/usr/share/doc/"
+  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"
+
+  install -d "$pkgdir/usr/share/doc"
+  cp -rv doc "$pkgdir/usr/share/doc/$pkgbase"
+  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:

Deleted: community-x86_64/sysfix.install
===================================================================
--- community-x86_64/sysfix.install     2016-09-22 14:53:07 UTC (rev 190157)
+++ community-x86_64/sysfix.install     2016-09-22 14:54:15 UTC (rev 190158)
@@ -1,10 +0,0 @@
-post_install() {
-  # Removing sys.so if needed, in order for Julia to start, see FS#39721
-  julia --version 2>/dev/null || rm /usr/lib/julia/sys.so
-}
-
-post_upgrade() {
-  post_install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: julia/repos/community-x86_64/sysfix.install (from rev 190157, 
julia/trunk/sysfix.install)
===================================================================
--- community-x86_64/sysfix.install                             (rev 0)
+++ community-x86_64/sysfix.install     2016-09-22 14:54:15 UTC (rev 190158)
@@ -0,0 +1,10 @@
+post_install() {
+  # Removing sys.so if needed, in order for Julia to start, see FS#39721
+  julia --version 2>/dev/null || rm /usr/lib/julia/sys.so
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to