1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#!/bin/sh NAME="gn" DESC="Meta-build system that generates build files for Ninja" MAKEDEPS="python" SOURCE="https://gn.googlesource.com/gn.git" ADDITIONAL=" python3.patch " build() { ./build/gen.py ninja -C out } check() { ./out/gn_unittests } package() { install -Dm755 out/gn "$PKG_DEST"/usr/bin/gn }