extra/ruby to 2.2.0-1

This commit is contained in:
Kevin Mihelich 2015-01-06 02:06:45 +00:00
parent def7c52706
commit 4d43c0beb1

View file

@ -7,20 +7,17 @@
# - patch to fix running ruby on v5 (#705) # - patch to fix running ruby on v5 (#705)
pkgname=('ruby' 'ruby-docs') pkgname=('ruby' 'ruby-docs')
pkgver=2.1.5 pkgver=2.2.0
pkgrel=1 pkgrel=1
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url='http://www.ruby-lang.org/en/' url='http://www.ruby-lang.org/en/'
license=('BSD' 'custom') license=('BSD' 'custom')
# disable ruby tk since 1.9.3 it has caused a segfault on require 'tk' makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml' 'ttf-dejavu' 'tk')
# https://bugs.ruby-lang.org/issues/8000 options=('!emptydirs' 'staticlibs')
# wait for upstream to start supporting tk 8.6
makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml' 'ttf-dejavu') # 'tk'
options=('!emptydirs' '!makeflags' 'staticlibs')
source=("http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz" source=("http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz"
'gemrc' 'gemrc'
'0002-Use-only-unsigned-long-for-rb_serial_t.patch') '0002-Use-only-unsigned-long-for-rb_serial_t.patch')
sha1sums=('52f8bafb4349eaf32fb99ba3d71e46fd924af966' sha1sums=('e54ae7ca6dc2da7d1edf0cc4f147beacfcbc7464'
'de4b760b7e2cd9af88ca67536ce37b950f1ee514' 'de4b760b7e2cd9af88ca67536ce37b950f1ee514'
'21a73f5a6009c038c14119864289d79c16545256') '21a73f5a6009c038c14119864289d79c16545256')
@ -49,7 +46,10 @@ check() {
package_ruby() { package_ruby() {
pkgdesc='An object-oriented language for quick and easy programming' pkgdesc='An object-oriented language for quick and easy programming'
depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'gmp' 'zlib') depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'gmp' 'zlib')
optdepends=('ruby-docs: Ruby documentation') # 'tk: for Ruby/TK' optdepends=(
'ruby-docs: Ruby documentation'
'tk: for Ruby/TK'
)
provides=('rubygems' 'rake') provides=('rubygems' 'rake')
conflicts=('rake') conflicts=('rake')
backup=('etc/gemrc') backup=('etc/gemrc')