aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:46:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:46:18 +0700
commit0cb5c5bce6b7d0eaa893b6dc5204bc0f90e5c65e (patch)
treec2faf53e6129faa9346152265bcf8e4c60fa7c82 /libraries
parentff3e757e86323e0ab21e9ace1661981f42c6d59e (diff)
libraries/libgit2-glib: Align with new template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libgit2-glib/libgit2-glib.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/libgit2-glib/libgit2-glib.SlackBuild b/libraries/libgit2-glib/libgit2-glib.SlackBuild
index 49cd05e7625b..82ef918e8711 100644
--- a/libraries/libgit2-glib/libgit2-glib.SlackBuild
+++ b/libraries/libgit2-glib/libgit2-glib.SlackBuild
@@ -84,8 +84,9 @@ meson build \
--buildtype=release \
-Dgtk_doc=true
-ninja -C build
-DESTDIR=$PKG ninja -C build install
+"${NINJA:=ninja}"
+$NINJA -C build
+DESTDIR=$PKG $NINJA -C build install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true