Date: Thursday, November 30, 2017 @ 21:14:51 Author: svenstaro Revision: 270893
archrelease: copy trunk to testing-x86_64 Added: bazel/repos/testing-x86_64/ bazel/repos/testing-x86_64/PKGBUILD (from rev 270892, bazel/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: bazel/repos/testing-x86_64/PKGBUILD (from rev 270892, bazel/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2017-11-30 21:14:51 UTC (rev 270893) @@ -0,0 +1,38 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Frederik Schwan <frederik dot schwan at linux dot com> +# Contributor: Simon Legner <simon.leg...@gmail.com> + +pkgname=bazel +pkgver=0.8.0 +pkgrel=1 +pkgdesc='Correct, reproducible, and fast builds for everyone' +arch=('x86_64') +license=('Apache') +url='https://bazel.io/' +depends=('java-environment>=8' 'java-environment<9' 'libarchive' 'zip' 'unzip') +makedepends=('git' 'protobuf' 'python') +options=('!distcc' '!strip') +source=(https://github.com/bazelbuild/bazel/releases/download/${pkgver}/bazel-${pkgver}-dist.zip + https://github.com/bazelbuild/bazel/releases/download/${pkgver}/bazel-${pkgver}-dist.zip.sig) +sha512sums=('742eecf6f141632ecad25dcee978942004c1b37966c42cff2c1a5e97a01c0870d61959eb6b1d038d5a26ff2338871a2cdb65fa4fc02e37beca76b89981c837e1' + 'SKIP') +validpgpkeys=('71A1D0EFCFEB6281FD0437C93D5919B448457EE0') + +build() { + ./compile.sh + ./output/bazel build scripts:bazel-complete.bash + cd output + ./bazel shutdown +} + +package() { + install -Dm755 ${srcdir}/scripts/packages/bazel.sh ${pkgdir}/usr/bin/bazel + install -Dm755 ${srcdir}/output/bazel ${pkgdir}/usr/bin/bazel-real + install -Dm644 ${srcdir}/bazel-bin/scripts/bazel-complete.bash ${pkgdir}/usr/share/bash-completion/completions/bazel + install -Dm644 ${srcdir}/scripts/zsh_completion/_bazel ${pkgdir}/usr/share/zsh/site-functions/_bazel + mkdir -p ${pkgdir}/opt/bazel/ + for d in examples third_party tools; do + cp -r ${srcdir}/${d} ${pkgdir}/opt/bazel/ + done +} +# vim:set ts=2 sw=2 et: