extra/ruby to 2.2.1-1

This commit is contained in:
Kevin Mihelich 2015-03-03 19:46:19 +00:00
parent 1a82ad7126
commit 3c93c947d0

View file

@ -6,18 +6,18 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org> # ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - 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.2.0 pkgver=2.2.1
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)
makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml' 'ttf-dejavu' 'tk') makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk)
options=('!emptydirs' 'staticlibs') options=(!emptydirs)
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=('e54ae7ca6dc2da7d1edf0cc4f147beacfcbc7464' sha1sums=('31bbdb17237863bd26b3aa32c613fe42c95ccd60'
'de4b760b7e2cd9af88ca67536ce37b950f1ee514' 'de4b760b7e2cd9af88ca67536ce37b950f1ee514'
'21a73f5a6009c038c14119864289d79c16545256') '21a73f5a6009c038c14119864289d79c16545256')
@ -45,15 +45,15 @@ 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=( optdepends=(
'ruby-docs: Ruby documentation' 'ruby-docs: Ruby documentation'
'tk: for Ruby/TK' 'tk: for Ruby/TK'
) )
provides=('rubygems' 'rake') provides=(rubygems rake)
conflicts=('rake') conflicts=(rake)
backup=('etc/gemrc') backup=(etc/gemrc)
install='ruby.install' install=ruby.install
cd ruby-${pkgver} cd ruby-${pkgver}