From 45848904c0343fbc061a4fb317239628ecf1d012 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 26 Nov 2018 20:44:34 +0000 Subject: ruby/rubygem-ronn: Fix manpage installation. Thanks to Didier Spaier. Signed-off-by: David Spencer --- ruby/rubygem-ronn/rubygem-ronn.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ruby') 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 -- cgit v1.2.3