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>
|
# 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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user