summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruby/ruby2/README7
-rw-r--r--ruby/ruby2/ruby2.SlackBuild8
-rw-r--r--ruby/ruby2/ruby2.info6
3 files changed, 11 insertions, 10 deletions
diff --git a/ruby/ruby2/README b/ruby/ruby2/README
index 554246ec33..8016fdaeef 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 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
diff --git a/ruby/ruby2/ruby2.info b/ruby/ruby2/ruby2.info
index 46fe7af097..b2b6af2d2c 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%"