libraries/webkit2gtk: Build just once, respect jobs number.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-08-09 19:59:48 +02:00 committed by Willy Sudiarto Raharjo
parent 934f6edd22
commit 0785ee2703
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 2 deletions

View File

@ -101,8 +101,7 @@ cd build
# The build might crash on high specs machines because ninja eat all
# of the resources, so let's try to limit it to half the available ones
"${NINJA:=ninja}"
$NINJA -j$(expr $(nproc) / 2)
"${NINJA:=ninja}" -j$(expr $(nproc) / 2)
DESTDIR=$PKG $NINJA -j1 install
mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0