[arch-commits] Commit in gn/repos/extra-x86_64 (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 25 14:02:21 UTC 2020
Date: Wednesday, November 25, 2020 @ 14:02:20
Author: foutrelis
Revision: 401858
archrelease: copy trunk to extra-x86_64
Added:
gn/repos/extra-x86_64/PKGBUILD
(from rev 401857, gn/trunk/PKGBUILD)
gn/repos/extra-x86_64/chromium-gn-version.sh
(from rev 401857, gn/trunk/chromium-gn-version.sh)
Deleted:
gn/repos/extra-x86_64/PKGBUILD
gn/repos/extra-x86_64/chromium-gn-version.sh
------------------------+
PKGBUILD | 87 +++++++++++++++++++++++------------------------
chromium-gn-version.sh | 16 ++++----
2 files changed, 52 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-25 14:02:16 UTC (rev 401857)
+++ PKGBUILD 2020-11-25 14:02:20 UTC (rev 401858)
@@ -1,43 +0,0 @@
-# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=gn
-pkgver=0.1819.e327ffdc
-_commit=e327ffdc503815916db2543ec000226a8df45163
-pkgrel=1
-pkgdesc="Meta-build system that generates build files for Ninja"
-arch=('x86_64')
-url="https://gn.googlesource.com/gn/"
-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
-}
-
-check() {
- cd $pkgname
- ./out/gn_unittests
-}
-
-package() {
- cd $pkgname
- install -D out/gn "$pkgdir/usr/bin/gn"
- install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-
- mkdir -p "$pkgdir/usr/share/vim/vimfiles"
- cp -r misc/vim/{autoload,ftdetect,ftplugin,syntax} \
- "$pkgdir/usr/share/vim/vimfiles/"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: gn/repos/extra-x86_64/PKGBUILD (from rev 401857, gn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-25 14:02:20 UTC (rev 401858)
@@ -0,0 +1,44 @@
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=gn
+pkgver=0.1819.e327ffdc
+_commit=e327ffdc503815916db2543ec000226a8df45163
+pkgrel=2
+pkgdesc="Meta-build system that generates build files for Ninja"
+arch=('x86_64')
+url="https://gn.googlesource.com/gn/"
+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
+}
+
+check() {
+ cd $pkgname
+ ./out/gn_unittests
+}
+
+package() {
+ cd $pkgname
+ install -D out/gn "$pkgdir/usr/bin/gn"
+ install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+
+ mkdir -p "$pkgdir/usr/share/vim/vimfiles"
+ cp -r misc/vim/{autoload,ftdetect,ftplugin,syntax} \
+ "$pkgdir/usr/share/vim/vimfiles/"
+ install -Dm644 -t "$pkgdir/usr/share/emacs/site-lisp" misc/emacs/gn-mode.el
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: chromium-gn-version.sh
===================================================================
--- chromium-gn-version.sh 2020-11-25 14:02:16 UTC (rev 401857)
+++ chromium-gn-version.sh 2020-11-25 14:02:20 UTC (rev 401858)
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-set -eo pipefail
-
-chromium_version=${1:-$(curl -s https://omahaproxy.appspot.com/linux)}
-
-curl -s https://chromium.googlesource.com/chromium/src/+/$chromium_version/DEPS?format=TEXT |
- base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"
Copied: gn/repos/extra-x86_64/chromium-gn-version.sh (from rev 401857, gn/trunk/chromium-gn-version.sh)
===================================================================
--- chromium-gn-version.sh (rev 0)
+++ chromium-gn-version.sh 2020-11-25 14:02:20 UTC (rev 401858)
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -eo pipefail
+
+chromium_version=${1:-$(curl -s https://omahaproxy.appspot.com/linux)}
+
+curl -s https://chromium.googlesource.com/chromium/src/+/$chromium_version/DEPS?format=TEXT |
+ base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"
More information about the arch-commits
mailing list