diff options
Diffstat (limited to 'ruby/rubygem-mustache/rubygem-mustache.SlackBuild')
-rw-r--r-- | ruby/rubygem-mustache/rubygem-mustache.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ruby/rubygem-mustache/rubygem-mustache.SlackBuild b/ruby/rubygem-mustache/rubygem-mustache.SlackBuild index bded1ef7b703..bfb62f5002f9 100644 --- a/ruby/rubygem-mustache/rubygem-mustache.SlackBuild +++ b/ruby/rubygem-mustache/rubygem-mustache.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=rubygem-mustache -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -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/*.5 -t $PKG/usr/man/man5 + +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 |