summaryrefslogtreecommitdiff
path: root/audio/qjackctl/qjackctl.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-27 20:53:45 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:37 -0500
commit7db9400097496f55202a8c8202d25990aede2cf3 (patch)
tree545616c4959f6390ac6a3198b5c52b3afa2ec103 /audio/qjackctl/qjackctl.SlackBuild
parentef9971fac93615e6ec1c70a4719f7ef7e16539fe (diff)
downloadslackbuilds-7db9400097496f55202a8c8202d25990aede2cf3.tar.gz
audio/qjackctl: Fixed (Compress man pages and handle icons)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/qjackctl/qjackctl.SlackBuild')
-rw-r--r--audio/qjackctl/qjackctl.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/qjackctl/qjackctl.SlackBuild b/audio/qjackctl/qjackctl.SlackBuild
index 97f37e908e..f78eb5b0d7 100644
--- a/audio/qjackctl/qjackctl.SlackBuild
+++ b/audio/qjackctl/qjackctl.SlackBuild
@@ -91,8 +91,11 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | egrep "ELF.*executable" | cut -f 1 -d : \
- | xargs strip --strip-unneeded 2> /dev/null
+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
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Make sure we have a standard-compliant desktop file
cat $CWD/qjackctl.desktop > $PKG/usr/share/applications/qjackctl.desktop