summaryrefslogtreecommitdiff
path: root/system/fwupd
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:49:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 18:49:44 +0700
commita2b7ae22bfed3ad91351fa3264cb82298ae1e6ec (patch)
treebde51c36e1adc87b80eae357eb531442f503d982 /system/fwupd
parent4c7ff42426697b41988dd88325705110d7b29d7a (diff)
downloadslackbuilds-a2b7ae22bfed3ad91351fa3264cb82298ae1e6ec.tar.gz
system/fwupd: Align with new template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fwupd')
-rw-r--r--system/fwupd/fwupd.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/fwupd/fwupd.SlackBuild b/system/fwupd/fwupd.SlackBuild
index cc3383c16c..30a6de9755 100644
--- a/system/fwupd/fwupd.SlackBuild
+++ b/system/fwupd/fwupd.SlackBuild
@@ -87,8 +87,9 @@ meson --prefix=/usr \
-Dplugin_uefi=false \
build
-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