Commit d1616977 authored by Leo's avatar Leo
Browse files

testing/gn: remove, depends on python2

parent f62f9a1c
Pipeline #1411 passed with stages
in 56 seconds
# Maintainer: Sven Assmann <sven@d34dl0ck.me>
pkgname=gn
pkgver=1530
pkgrel=0
pkgdesc="GN is a meta-build system that generates build files for Ninja."
url="https://gn.googlesource.com/gn/+/1ab6fa2c/README.md"
arch="all !x86 !armhf !armv7"
license="BSD-3-Clause"
depends="libgcc musl"
makedepends="python2 ninja git clang"
giturl="https://gn.googlesource.com/gn"
builddir="$srcdir"
fetch() {
git clone https://gn.googlesource.com/gn "$builddir/git"
cd "$builddir/git"
git reset --hard 1ab6fa2c
}
prepare() {
"$builddir/git/build/gen.py"
}
check() {
cd "$builddir/git/out/"
./gn_unittests
}
build() {
cd "$builddir/git"
ninja -C out -j 8
}
package() {
install -m755 -D "$builddir/git/out/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment