summaryrefslogtreecommitdiff
path: root/ruby/rubygem-ronn/rubygem-ronn.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/rubygem-ronn/rubygem-ronn.SlackBuild')
-rw-r--r--ruby/rubygem-ronn/rubygem-ronn.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/ruby/rubygem-ronn/rubygem-ronn.SlackBuild b/ruby/rubygem-ronn/rubygem-ronn.SlackBuild
index d25b728886..0858c6c810 100644
--- a/ruby/rubygem-ronn/rubygem-ronn.SlackBuild
+++ b/ruby/rubygem-ronn/rubygem-ronn.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=rubygem-ronn
VERSION=${VERSION:-0.7.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=ronn
@@ -103,6 +103,12 @@ gem install \
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
+install -D -m0644 $PKG/$DESTDIR/gems/*/man/*.1 -t $PKG/usr/man/man1
+install -D -m0644 $PKG/$DESTDIR/gems/*/man/*.7 -t $PKG/usr/man/man7
+
+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
+
rm -rf $PKG/$DESTDIR/cache
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION