Skip to content
Snippets Groups Projects
Commit ceb35cad authored by Oleg Titov's avatar Oleg Titov Committed by Leo
Browse files

testing/bazel2: add expr (from coreutils) to makedepends

With full featured expr from coreutils there is no need in patch
parent 7c77098a
No related branches found
No related tags found
1 merge request!12018testing/bazel2: add expr (from coreutils) to makedepends
......@@ -8,7 +8,7 @@ url="https://bazel.build/"
arch="x86_64"
license="Apache-2.0"
depends="bash libarchive openjdk8 zip unzip"
makedepends="python3 linux-headers protobuf"
makedepends="python3 linux-headers protobuf coreutils"
options="!strip"
replaces="bazel"
provides="bazel=$pkgver-r$pkgrel"
......@@ -18,8 +18,7 @@ subpackages="
$pkgname-zsh-completion
$pkgname-examples::noarch
"
source="https://github.com/bazelbuild/bazel/releases/download/$pkgver/bazel-$pkgver-dist.zip
bash_completion.patch"
source="https://github.com/bazelbuild/bazel/releases/download/$pkgver/bazel-$pkgver-dist.zip"
build() {
# based on
......@@ -89,5 +88,4 @@ unpack() {
unzip "$srcdir"/bazel-$pkgver-dist.zip -d "$builddir" > /dev/null
}
sha512sums="67011c3a045c0fd74cdcb98eef1c3ead6902a3bd65a629fe49911f9dbb4c39508bd91eb63c1fae68284136ad4994afb42a01c7f10983614e432f8be22a1c566e bazel-2.2.0-dist.zip
6eb1fcb553518348f5c2dacf239377dbaa2593b751ba98c0c257d0138c55b159891fa3744168a6cff8b305758c64f9153cdc01dd3394b5fff2168319188288df bash_completion.patch"
sha512sums="67011c3a045c0fd74cdcb98eef1c3ead6902a3bd65a629fe49911f9dbb4c39508bd91eb63c1fae68284136ad4994afb42a01c7f10983614e432f8be22a1c566e bazel-2.2.0-dist.zip"
Bash completion patch to fix error in expr
--- a/scripts/generate_bash_completion.sh.orig
+++ a/scripts/generate_bash_completion.sh
@@ -34,7 +34,7 @@
}
get_optarg() {
- expr -- "${1}" : "[^=]*=\\(.*\\)"
+ expr "${1}" : "[^=]*=\\(.*\\)"
}
append=
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment