summaryrefslogtreecommitdiffstats
path: root/system/fish
diff options
context:
space:
mode:
author Luna Jernberg <droidbittin@gmail.com>2024-06-06 01:32:01 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-06 01:37:16 +0700
commitebaee06c766f8671c4c986eccd2b271432b130ab (patch)
treee4d032f617a01c2bf31236e94a1befd41ed8ce40 /system/fish
parentac759104e8e7361e6ce1f1b3465e3cb112740dd6 (diff)
downloadslackbuilds-ebaee06c766f8671c4c986eccd2b271432b130ab.tar.gz
slackbuilds-ebaee06c766f8671c4c986eccd2b271432b130ab.tar.xz
system/fish: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fish')
-rw-r--r--system/fish/fish.SlackBuild2
1 files changed, 2 insertions, 0 deletions
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