diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-12 18:41:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-12 18:41:49 +0700 |
commit | 145bbed14b6f4f29fd0ffebe86971ccd4c88d6db (patch) | |
tree | 4bcec602f18c5922ca5aaf24d29d3627c7ec1f88 /libraries | |
parent | 317d56af2edd67afc929d8a25e5d7786471afc96 (diff) | |
download | slackbuilds-145bbed14b6f4f29fd0ffebe86971ccd4c88d6db.tar.gz |
libraries/appstream-glib: Align with new template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/appstream-glib/appstream-glib.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/appstream-glib/appstream-glib.SlackBuild b/libraries/appstream-glib/appstream-glib.SlackBuild index b09b62c0f3..ceb09fcefc 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 |