diff options
author | isaackwy <isaacyu@protonmail.com> | 2024-07-12 19:19:03 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-15 09:57:43 +0700 |
commit | 2738704173d89b449e84720baea6bfcc0f4febd2 (patch) | |
tree | abfbadb15cebf0e4f9b0e7e47204055964efd337 /development | |
parent | 5fe84e8f29fd5d4dad129e7ef3ec81754536ffe3 (diff) |
development/bazel: Update for 5.4.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/bazel/bazel.SlackBuild | 11 | ||||
-rw-r--r-- | development/bazel/bazel.info | 6 |
2 files changed, 6 insertions, 11 deletions
diff --git a/development/bazel/bazel.SlackBuild b/development/bazel/bazel.SlackBuild index 846294510c6b8..1b6448a14427c 100644 --- a/development/bazel/bazel.SlackBuild +++ b/development/bazel/bazel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for bazel -# Copyright 2022-2023 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bazel -VERSION=${VERSION:-5.4.0} +VERSION=${VERSION:-5.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -48,16 +48,12 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi @@ -97,7 +93,6 @@ cd ../ mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/share/bash-completion/completions/bazel mkdir -p $PKG/usr/share/zsh/site-functions/_bazel -mkdir -p $PKG/opt/bazel # Move the bazel binary (It alone is 33MB). # /usr/bin/bazel should not be stripped - otherwise, bazel becomes unusable: @@ -109,7 +104,7 @@ cp $TMP/$PRGNAM-$VERSION/scripts/packages/bazel.sh $PKG/usr/bin cp $TMP/$PRGNAM-$VERSION/bazel-complete.bash $PKG/usr/share/bash-completion/completions/bazel cp $TMP/$PRGNAM-$VERSION/scripts/zsh_completion/_bazel $PKG/usr/share/zsh/site-functions/_bazel for d in examples third_party tools; do - cp -r $TMP/$PRGNAM-$VERSION/$d $PKG/opt/bazel/ + cp -r $TMP/$PRGNAM-$VERSION/$d $PKG/usr/share/bazel/ done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/bazel/bazel.info b/development/bazel/bazel.info index bffd4e14238f0..54baef8b7bb2a 100644 --- a/development/bazel/bazel.info +++ b/development/bazel/bazel.info @@ -1,10 +1,10 @@ PRGNAM="bazel" -VERSION="5.4.0" +VERSION="5.4.1" HOMEPAGE="https://bazel.build/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/bazelbuild/bazel/releases/download/5.4.0/bazel-5.4.0-dist.zip" -MD5SUM_x86_64="241f790c493e7858ff78954f12bfc4ee" +DOWNLOAD_x86_64="https://github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-dist.zip" +MD5SUM_x86_64="0adff930095c57e5df28bf2f735db2d1" REQUIRES="zulu-openjdk11" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |