From 145bbed14b6f4f29fd0ffebe86971ccd4c88d6db Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 12 Jul 2021 18:41:49 +0700 Subject: libraries/appstream-glib: Align with new template. Signed-off-by: Willy Sudiarto Raharjo --- libraries/appstream-glib/appstream-glib.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libraries/appstream-glib') 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 -- cgit v1.2.3