aboutsummaryrefslogtreecommitdiff
path: root/development/julia/julia.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/julia/julia.SlackBuild')
-rw-r--r--development/julia/julia.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/development/julia/julia.SlackBuild b/development/julia/julia.SlackBuild
index 0894aabbf5b98..a385ce2eb30fd 100644
--- a/development/julia/julia.SlackBuild
+++ b/development/julia/julia.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=julia
-VERSION=${VERSION:-0.6.0}
-VERSION_TAG=${VERSION_TAG:-903644385b}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,9 +62,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $PKG/usr $OUTPUT
cd $TMP
-rm -rf $PRGNAM-${VERSION_TAG}
+rm -rf $PRGNAM-${VERSION}
tar xvf $CWD/$PRGNAM\-${VERSION}\-linux\-$ARCH.tar.gz
-cd $PRGNAM-${VERSION_TAG}
+cd $PRGNAM-${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,8 +79,8 @@ cp -r include $PKG/usr/include
cp -r lib $PKG/usr/lib
cp -r share $PKG/usr/share
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# Don't strip binaries as it could cause some breakage
+# https://github.com/JuliaLang/julia/issues/34936
mv $PKG/usr/share/man $PKG/usr/
find $PKG/usr/man -type f -exec gzip -9 {} \;