summaryrefslogtreecommitdiff
path: root/ruby/ruby2/ruby2.SlackBuild
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2015-08-18 18:40:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-21 03:24:29 +0700
commit2fe4f9520cc1849c7d4f2d704c54ed853a813e24 (patch)
tree95938949fa5ce5a3f6ac83871aef8901e7f0f70e /ruby/ruby2/ruby2.SlackBuild
parent4c5eb71533c0fdfa5cccaa46eae197a6a6a8ea72 (diff)
downloadslackbuilds-2fe4f9520cc1849c7d4f2d704c54ed853a813e24.tar.gz
ruby/ruby2: Updated for version 2.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby/ruby2/ruby2.SlackBuild')
-rw-r--r--ruby/ruby2/ruby2.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/ruby/ruby2/ruby2.SlackBuild b/ruby/ruby2/ruby2.SlackBuild
index 9b0af0e6b6..4cc787e09a 100644
--- a/ruby/ruby2/ruby2.SlackBuild
+++ b/ruby/ruby2/ruby2.SlackBuild
@@ -31,7 +31,7 @@
PRGNAM=ruby2
SRCNAM=ruby
-VERSION=${VERSION:-2.2.2}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -98,11 +98,17 @@ make install DESTDIR=$PKG
( cd $PKG/usr/bin
mv ruby ruby2
mv rake rake2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' rake2
mv irb irb2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' irb2
mv gem gem2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' gem2
mv erb erb2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' erb2
mv rdoc rdoc2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' rdoc2
mv ri ri2
+ sed -i '0,/ruby/{s/ruby/ruby2/}' ri2
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION