aboutsummaryrefslogtreecommitdiff
path: root/libraries/appstream-glib
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:41:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:41:49 +0700
commit145bbed14b6f4f29fd0ffebe86971ccd4c88d6db (patch)
tree4bcec602f18c5922ca5aaf24d29d3627c7ec1f88 /libraries/appstream-glib
parent317d56af2edd67afc929d8a25e5d7786471afc96 (diff)
libraries/appstream-glib: Align with new template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/appstream-glib')
-rw-r--r--libraries/appstream-glib/appstream-glib.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild
index b09b62c0f3e2d..ceb09fcefc45a 100644
--- a/libraries/appstream-glib/appstream-glib.SlackBuild
+++ b/libraries/appstream-glib/appstream-glib.SlackBuild
@@ -85,8 +85,9 @@ meson \
# not sure why this is necessary
sed -i "/^ COMMAND = \\/usr\\/bin\\/g-ir-scanner/s/-lyaml//" build/build.ninja
-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