-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fb10fd
commit 102dd95
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |