summaryrefslogtreecommitdiff
path: root/extra/ruby/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ruby/PKGBUILD')
-rw-r--r--extra/ruby/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD
index aa7ded71a..d2885050b 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -4,8 +4,8 @@
# Contributor: Jeramy Rutley <jrutley@gmail.com>
pkgname=('ruby' 'ruby-docs')
-pkgver=2.1.0
-pkgrel=2
+pkgver=2.1.1
+pkgrel=1
arch=('i686' 'x86_64')
url='http://www.ruby-lang.org/en/'
license=('BSD' 'custom')
@@ -14,18 +14,19 @@ license=('BSD' 'custom')
# wait for upstream to start supporting tk 8.6
makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml') # 'tk'
options=('!emptydirs' '!makeflags' 'staticlibs')
-source=("http://cache.ruby-lang.org/pub/ruby/ruby-${pkgver}.tar.bz2"
+source=("http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.bz2"
'gemrc'
- '0001-Fix-installing-gem-from-file-without-dependencies.patch')
-md5sums=('1546eeb763ac7754365664be763a1e8f'
+ '0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch')
+md5sums=('53edc33b2f590ecdd9f6a344b9d92d0d'
'6fb8e7a09955e0f64be3158fb4a27e7a'
- '61a1507f260866805fc6451c14733b25')
+ '0496e962e0ce11507b7577a8eb93af58')
build() {
cd ruby-${pkgver}
- # fixes https://github.com/rubygems/rubygems/issues/760
- patch -Np1 -i ${srcdir}/0001-Fix-installing-gem-from-file-without-dependencies.patch
+ # readline 6.3 doesn't define Function anymore
+ # https://bugs.ruby-lang.org/issues/9578
+ patch -Np1 -i ${srcdir}/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch
PKG_CONFIG=/usr/bin/pkg-config ./configure \
--prefix=/usr \