[arch-commits] Commit in julia/trunk (PKGBUILD sysfix.install)
Alexander Rødseth
arodseth at archlinux.org
Tue Jul 15 16:24:11 UTC 2014
Date: Tuesday, July 15, 2014 @ 18:24:10
Author: arodseth
Revision: 115742
Upgrading to 0.3.0 rc1, adding check before removing sys.so
Added:
julia/trunk/sysfix.install
Modified:
julia/trunk/PKGBUILD
----------------+
PKGBUILD | 10 ++++------
sysfix.install | 4 ++++
2 files changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-07-15 15:13:18 UTC (rev 115741)
+++ PKGBUILD 2014-07-15 16:24:10 UTC (rev 115742)
@@ -5,8 +5,8 @@
# Contributor: devmotion <nospam-archlinux.org at devmotion.de>
pkgname=julia
-pkgver=0.3.0_prerelease
-pkgrel=8
+pkgver=0.3.0_rc1
+pkgrel=1
pkgdesc='High-level, high-performance, dynamic programming language'
arch=('x86_64' 'i686')
url='http://julialang.org'
@@ -15,7 +15,8 @@
makedepends=('gcc-fortran' 'python2' 'libuv' 'setconf')
optdepends=('gnuplot: If using the Gaston Package from julia')
options=('!emptydirs' 'staticlibs')
-source=('git://github.com/JuliaLang/julia.git#commit=a8545c0a93')
+source=("git://github.com/JuliaLang/julia.git#tag=v${pkgver/_/-}")
+install=sysfix.install
sha256sums=('SKIP')
prepare() {
@@ -79,9 +80,6 @@
# Remove duplicate man-page from julia/doc
rm -rv "$pkgdir/usr/share/julia/doc/man"
- # Remove this file in order for Julia to start, see FS#39721
- rm -v "$pkgdir/usr/lib/julia/sys.so"
-
# Fix wonky permission
chmod 644 "$pkgdir/usr/lib/julia/libuv.a"
}
Added: sysfix.install
===================================================================
--- sysfix.install (rev 0)
+++ sysfix.install 2014-07-15 16:24:10 UTC (rev 115742)
@@ -0,0 +1,4 @@
+post_install() {
+ # If needed, remove this file in order for Julia to start, see FS#39721
+ julia --version || rm /usr/lib/julia/sys.so
+}
More information about the arch-commits
mailing list