aboutsummaryrefslogtreecommitdiff
path: root/graphics/gthumb
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:40:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:40:02 +0700
commit52763e3dbf544ebb73a320bb82d5d18aa4cc7a95 (patch)
treef5f9edd396b8a5b1106d6a89117ef8b7edac2046 /graphics/gthumb
parent26586ec1e616a7febb0665b95bae1f8dcdaa1342 (diff)
graphics/gthumb: Align with new template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/gthumb')
-rw-r--r--graphics/gthumb/gthumb.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/gthumb/gthumb.SlackBuild b/graphics/gthumb/gthumb.SlackBuild
index 07f847916b56..b9292cb35963 100644
--- a/graphics/gthumb/gthumb.SlackBuild
+++ b/graphics/gthumb/gthumb.SlackBuild
@@ -86,8 +86,9 @@ meson setup \
--localstatedir=/var \
--buildtype=release \
build || exit 1
-ninja -C build || exit 1
-DESTDIR=$PKG ninja -C build install || exit 1
+"${NINJA:=ninja}"
+$NINJA -C build || exit 1
+DESTDIR=$PKG $NINJA -C build install || exit 1
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