Browse Source

ruby/rubygem-ronn: Fix manpage installation.

Thanks to Didier Spaier.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
pull/53/head
David Spencer 7 years ago
committed by Willy Sudiarto Raharjo
parent
commit
45848904c0
No known key found for this signature in database GPG Key ID: 887B8374D7333381
  1. 8
      ruby/rubygem-ronn/rubygem-ronn.SlackBuild

8
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

Loading…
Cancel
Save