summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:47:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:47:57 +0700
commit2ef93b617851d0a1fdaaeea8e596b51f161aa795 (patch)
treea6e21d501add7c7fb4efc34cca8c60a1c99dd3db
parenta4ceb8f2ffcc6964dd8c7c57588cbe769fc38458 (diff)
downloadslackbuilds-2ef93b617851d0a1fdaaeea8e596b51f161aa795.tar.gz
libraries/webkit2gtk: Align with new template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/webkit2gtk/webkit2gtk.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild
index f0b8a7dced..37192c63ad 100644
--- a/libraries/webkit2gtk/webkit2gtk.SlackBuild
+++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild
@@ -92,8 +92,9 @@ 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 -j$(expr $(nproc) / 2)
-DESTDIR=$PKG ninja -j1 install
+"${NINJA:=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
install -m 0644 ../Documentation/webkit2gtk-4.0/html/* \