1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
5 _commit=5a004f9427a050c6c393c07ddb85cba8ff3849fa
7 pkgdesc="Meta-build system that generates build files for Ninja"
9 url="https://gn.googlesource.com/gn/"
12 makedepends=('clang' 'ninja' 'python' 'git')
13 source=(git+https://gn.googlesource.com/gn#commit=$_commit)
18 echo 0.$(git rev-list --count initial-commit..).$(git rev-parse --short=8 HEAD)
34 install -D out/gn "$pkgdir/usr/bin/gn"
35 install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" docs/*
36 install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
38 mkdir -p "$pkgdir/usr/share/vim/vimfiles"
39 cp -r misc/vim/{autoload,ftdetect,ftplugin,syntax} \
40 "$pkgdir/usr/share/vim/vimfiles/"
41 install -Dm644 -t "$pkgdir/usr/share/emacs/site-lisp" misc/emacs/gn-mode.el
44 # vim:set ts=2 sw=2 et: