aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2018-11-26 20:43:56 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-01 07:27:45 +0700
commit346bc50c44a4e28e8cc905ff56fc2e38d7fe7f5a (patch)
tree375fc2cdd90a61d22219aa708b3ba2327ed303b3 /ruby
parent3618682fbc40711ae371cc642d150d1da9ae567f (diff)
ruby/rubygem-mustache: Updated for version 1.1.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'ruby')
-rw-r--r--ruby/rubygem-mustache/rubygem-mustache.SlackBuild8
-rw-r--r--ruby/rubygem-mustache/rubygem-mustache.info8
2 files changed, 11 insertions, 5 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
diff --git a/ruby/rubygem-mustache/rubygem-mustache.info b/ruby/rubygem-mustache/rubygem-mustache.info
index fad0c710303b..e6c61e66b5d4 100644
--- a/ruby/rubygem-mustache/rubygem-mustache.info
+++ b/ruby/rubygem-mustache/rubygem-mustache.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-mustache"
-VERSION="1.0.5"
-HOMEPAGE="http://mustache.github.io/"
-DOWNLOAD="https://rubygems.org/downloads/mustache-1.0.5.gem"
-MD5SUM="50bb4c1e97cd7c4ebc922ac2ed84c111"
+VERSION="1.1.0"
+HOMEPAGE="https://mustache.github.io/"
+DOWNLOAD="https://rubygems.org/downloads/mustache-1.1.0.gem"
+MD5SUM="925b387764d4234773673f63226a26d1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""