main/ninja: use asciidoctor and Python 3; fix license

This commit is contained in:
A. Wilcox 2018-02-12 11:36:00 -06:00 committed by William Pitcock
parent 64991ab591
commit 01840fb58f

View File

@ -2,20 +2,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ninja pkgname=ninja
pkgver=1.8.2 pkgver=1.8.2
pkgrel=0 pkgrel=1
pkgdesc="Small build system with a focus on speed" pkgdesc="Small build system with a focus on speed"
url="https://ninja-build.org/" url="https://ninja-build.org/"
arch="all" arch="all"
license="Apache" license="Apache-2.0"
makedepends="asciidoc python2 re2c gtest" makedepends="asciidoctor python3 re2c gtest"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/martine/ninja/archive/v$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz::https://github.com/martine/ninja/archive/v$pkgver.tar.gz"
builddir="$srcdir"/${pkgname}-${pkgver} builddir="$srcdir"/${pkgname}-${pkgver}
build() { build() {
cd "$builddir" cd "$builddir"
python2 ./configure.py --bootstrap python3 ./configure.py --bootstrap
asciidoc doc/manual.asciidoc asciidoctor doc/manual.asciidoc
} }
check() { check() {