aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild b/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild
index ef0bab0c03c0..d14133b8d3ce 100644
--- a/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild
+++ b/ruby/rubygem-lolcat/rubygem-lolcat.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rubygem-lolcat
VERSION=${VERSION:-99.9.20}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -110,6 +110,9 @@ gem install \
--bindir $PKG/usr/bin \
$CWD/$SRCNAM-$VERSION.gem
+# remove empty /usr/share/man directory
+rm -rf $PKG/usr/share
+
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