[arch-commits] Commit in bazel/repos (2 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Nov 30 21:16:58 UTC 2017


    Date: Thursday, November 30, 2017 @ 21:16:57
  Author: svenstaro
Revision: 270895

archrelease: copy trunk to community-testing-x86_64

Added:
  bazel/repos/community-testing-x86_64/
  bazel/repos/community-testing-x86_64/PKGBUILD
    (from rev 270894, bazel/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: bazel/repos/community-testing-x86_64/PKGBUILD (from rev 270894, bazel/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-11-30 21:16:57 UTC (rev 270895)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Frederik Schwan <frederik dot schwan at linux dot com>
+# Contributor: Simon Legner <Simon.Legner at 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:



More information about the arch-commits mailing list