From ebaee06c766f8671c4c986eccd2b271432b130ab Mon Sep 17 00:00:00 2001 From: Luna Jernberg Date: Thu, 6 Jun 2024 01:32:01 +0700 Subject: [PATCH] system/fish: Update script. Signed-off-by: Willy Sudiarto Raharjo --- system/fish/fish.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/fish/fish.SlackBuild b/system/fish/fish.SlackBuild index 2dc1e83108..c4e5506c41 100644 --- a/system/fish/fish.SlackBuild +++ b/system/fish/fish.SlackBuild @@ -114,6 +114,8 @@ cd build -DCMAKE_BUILD_TYPE=Release .. make make install/strip DESTDIR=$PKG + 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 cd .. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION