Date: Wednesday, March 20, 2019 @ 02:50:51
  Author: kgizdov
Revision: 442831

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: bazel/repos/community-testing-x86_64/PKGBUILD (from rev 442830, 
bazel/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2019-03-20 02:50:51 UTC (rev 442831)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Co-Maintainer: Konstantin Gizdov <[email protected]>
+# Contributor: Frederik Schwan <frederik dot schwan at linux dot com>
+# Contributor: Simon Legner <[email protected]>
+
+pkgname=bazel
+pkgver=0.23.0
+pkgrel=3
+pkgdesc='Correct, reproducible, and fast builds for everyone'
+arch=('x86_64')
+license=('Apache')
+url='https://bazel.io/'
+depends=('java-environment=10' '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=('e53cd008552d61eab00f94a73458b6ada5c0bcb659f6fc748d4178b6b7371f625def17f983b09b9e920710153e6fd1e15b53ca71d424e2b0a79cdd4c815af3bf'
+            '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:

Reply via email to