aboutsummaryrefslogtreecommitdiff
path: root/development/julia/julia.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-07 08:21:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-07 08:21:22 +0700
commit4ccb99d4472d40524f1da9acdd86b826ceeed11b (patch)
tree8aeb0d3f00e9f04501c2f8be5d892d56ae276320 /development/julia/julia.SlackBuild
parenta2084ca8e5abacf4fe020963e0ea71c76d9696ef (diff)
development/julia: Updated for version 1.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 {} \;