diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-11-26 20:44:34 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-01 07:27:45 +0700 |
commit | 45848904c0343fbc061a4fb317239628ecf1d012 (patch) | |
tree | 28d1ee6d575c5fccf9fa3db2c9e4c08c0fc525e5 /ruby/rubygem-ronn | |
parent | 346bc50c44a4e28e8cc905ff56fc2e38d7fe7f5a (diff) | |
download | slackbuilds-45848904c0343fbc061a4fb317239628ecf1d012.tar.gz |
ruby/rubygem-ronn: Fix manpage installation.
Thanks to Didier Spaier.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ruby/rubygem-ronn')
-rw-r--r-- | ruby/rubygem-ronn/rubygem-ronn.SlackBuild | 8 |
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 |