[arch-commits] Commit in gn/repos/extra-x86_64 (3 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Jul 19 10:25:56 UTC 2019


    Date: Friday, July 19, 2019 @ 10:25:55
  Author: foutrelis
Revision: 358143

archrelease: copy trunk to extra-x86_64

Added:
  gn/repos/extra-x86_64/PKGBUILD
    (from rev 358142, gn/trunk/PKGBUILD)
  gn/repos/extra-x86_64/chromium-gn-version.sh
    (from rev 358142, gn/trunk/chromium-gn-version.sh)
Deleted:
  gn/repos/extra-x86_64/PKGBUILD

------------------------+
 PKGBUILD               |   66 +++++++++++++++++++++++------------------------
 chromium-gn-version.sh |    8 +++++
 2 files changed, 41 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-19 10:25:50 UTC (rev 358142)
+++ PKGBUILD	2019-07-19 10:25:55 UTC (rev 358143)
@@ -1,33 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=gn
-pkgver=0.1568.c599fdbb
-_commit=c599fdbbcdb7eb6c7e345e36e1ae5de16a91509f
-pkgrel=1
-pkgdesc="Meta-build system that generates build files for Ninja"
-arch=('x86_64')
-url="https://gn.googlesource.com/gn/+/master/README.md"
-license=('BSD')
-depends=('gcc-libs')
-makedepends=('clang' 'ninja' 'python' 'git')
-source=(git+https://gn.googlesource.com/gn#commit=$_commit)
-md5sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short HEAD)
-}
-
-build() {
-  cd $pkgname
-  ./build/gen.py
-  ninja -C out gn
-}
-
-package() {
-  cd $pkgname
-  install -D out/gn "$pkgdir/usr/bin/gn"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: gn/repos/extra-x86_64/PKGBUILD (from rev 358142, gn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-19 10:25:55 UTC (rev 358143)
@@ -0,0 +1,33 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=gn
+pkgver=0.1576.81ee1967
+_commit=81ee1967d3fcbc829bac1c005c3da59739c88df9
+pkgrel=1
+pkgdesc="Meta-build system that generates build files for Ninja"
+arch=('x86_64')
+url="https://gn.googlesource.com/gn/+/master/README.md"
+license=('BSD')
+depends=('gcc-libs')
+makedepends=('clang' 'ninja' 'python' 'git')
+source=(git+https://gn.googlesource.com/gn#commit=$_commit)
+md5sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short HEAD)
+}
+
+build() {
+  cd $pkgname
+  ./build/gen.py
+  ninja -C out gn
+}
+
+package() {
+  cd $pkgname
+  install -D out/gn "$pkgdir/usr/bin/gn"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gn/repos/extra-x86_64/chromium-gn-version.sh (from rev 358142, gn/trunk/chromium-gn-version.sh)
===================================================================
--- chromium-gn-version.sh	                        (rev 0)
+++ chromium-gn-version.sh	2019-07-19 10:25:55 UTC (rev 358143)
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -eo pipefail
+
+chromium_version=$(curl -s https://omahaproxy.appspot.com/linux)
+
+curl -s https://chromium.googlesource.com/chromium/src/+/refs/tags/$chromium_version/DEPS?format=TEXT |
+	base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"


More information about the arch-commits mailing list