[arch-commits] Commit in (gn gn/repos gn/trunk gn/trunk/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sun Aug 12 23:06:52 UTC 2018
Date: Sunday, August 12, 2018 @ 23:06:52
Author: foutrelis
Revision: 331438
Add new package: gn (to be used by Chromium)
Added:
gn/
gn/repos/
gn/trunk/
gn/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: gn/trunk/PKGBUILD
===================================================================
--- gn/trunk/PKGBUILD (rev 0)
+++ gn/trunk/PKGBUILD 2018-08-12 23:06:52 UTC (rev 331438)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=gn
+pkgver=0.1458.f9dbfd12
+_commit=f9dbfd121d75ea8131a1302ec1dbbcf0aa30d9f1
+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' 'python2' '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
+ python2 ./build/gen.py --no-sysroot
+ 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:
Property changes on: gn/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list