aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-07-25 22:16:47 +1200
committerRobby Workman <rworkman@slackbuilds.org>2021-07-25 23:50:59 -0500
commit4dd62a24e6d1c74b41dd53897eabdcff065797b6 (patch)
tree68c3b52de51abed816ea6283083ee8c904e6ab92
parenta35ec4698d284ac634d820346e2d690468164195 (diff)
ruby/rubygem-lolcat: Remove empty man dir.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-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