diff options
author | Brenton Earl <brent@exitstatusone.com> | 2015-08-18 18:40:11 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-08-21 03:24:29 +0700 |
commit | 2fe4f9520cc1849c7d4f2d704c54ed853a813e24 (patch) | |
tree | 95938949fa5ce5a3f6ac83871aef8901e7f0f70e /ruby | |
parent | 4c5eb71533c0fdfa5cccaa46eae197a6a6a8ea72 (diff) |
ruby/ruby2: Updated for version 2.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/ruby2/README | 7 | ||||
-rw-r--r-- | ruby/ruby2/ruby2.SlackBuild | 8 | ||||
-rw-r--r-- | ruby/ruby2/ruby2.info | 6 |
3 files changed, 11 insertions, 10 deletions
diff --git a/ruby/ruby2/README b/ruby/ruby2/README index 554246ec3364f..8016fdaeefaa1 100644 --- a/ruby/ruby2/README +++ b/ruby/ruby2/README @@ -1,15 +1,10 @@ -============ -Ruby 2.2.2 -============ - Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. -============ Notes -============ +====== This build script will install a newer version of ruby alongside the provided official Slackware ruby package, however it will overwrite diff --git a/ruby/ruby2/ruby2.SlackBuild b/ruby/ruby2/ruby2.SlackBuild index 9b0af0e6b658e..4cc787e09af71 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 diff --git a/ruby/ruby2/ruby2.info b/ruby/ruby2/ruby2.info index 46fe7af097212..b2b6af2d2c95e 100644 --- a/ruby/ruby2/ruby2.info +++ b/ruby/ruby2/ruby2.info @@ -1,8 +1,8 @@ PRGNAM="ruby2" -VERSION="2.2.2" +VERSION="2.2.3" HOMEPAGE="http://www.ruby-lang.org" -DOWNLOAD="http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz" -MD5SUM="326e99ddc75381c7b50c85f7089f3260" +DOWNLOAD="https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.gz" +MD5SUM="150a5efc5f5d8a8011f30aa2594a7654" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="%README%" |