mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/ninja: use asciidoctor and Python 3; fix license
This commit is contained in:
parent
64991ab591
commit
01840fb58f
@ -2,20 +2,20 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=ninja
|
||||
pkgver=1.8.2
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Small build system with a focus on speed"
|
||||
url="https://ninja-build.org/"
|
||||
arch="all"
|
||||
license="Apache"
|
||||
makedepends="asciidoc python2 re2c gtest"
|
||||
license="Apache-2.0"
|
||||
makedepends="asciidoctor python3 re2c gtest"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/martine/ninja/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir"/${pkgname}-${pkgver}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
python2 ./configure.py --bootstrap
|
||||
asciidoc doc/manual.asciidoc
|
||||
python3 ./configure.py --bootstrap
|
||||
asciidoctor doc/manual.asciidoc
|
||||
}
|
||||
|
||||
check() {
|
||||
|
Loading…
Reference in New Issue
Block a user