Skip to content

Commit

Permalink
New package: bazel-3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
waynevanson committed Sep 19, 2020
1 parent 5fb10fd commit 102dd95
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions srcpkgs/bazel/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Template file for 'bazel'
pkgname=bazel
version=3.5.0
revision=1
archs="x86_64"
wrksrc="."
hostmakedepends="gcc openjdk11 unzip which zip"
makedepends="python3-devel"
short_desc="Open-source build and test tool similar to Make, Maven, and Gradle"
maintainer="Wayne Van Son <waynevanson@gmail.com>"
license="Apache-2.0"
homepage="https://www.bazel.build/"
distfiles="https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"
checksum=334429059cf82e222ca8a9d9dbbd26f8e1eb308613463c2b8655dd4201b127ec
nopie_files="/usr/bin/bazel"

do_install() {
env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk"
bash ./compile.sh
}

post_install() {
vbin "${wrksrc}/output/bazel"
}

0 comments on commit 102dd95

Please sign in to comment.