1 # Contributor: Markus M. May <mmay@javafreedom.org>
2 # Contributor: Niel Drummond <niel.drummond@grumpytoad.org>
3 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
8 pkgdesc="Is an open source web application framework for the Ruby programming language."
10 url="http://www.rubyonrails.org"
12 depends=('ruby' 'rubygems')
13 provides=('ruby-rack=1.1.0' 'ruby-activeresource=2.3.14' 'ruby-actionmailer=2.3.14' 'ruby-actionpack=2.3.14'
14 'ruby-activerecord=2.3.14' 'ruby-activesupport=2.3.14' 'ruby-rails=2.3.14')
15 conflicts=('ruby-rack' 'ruby-rack110' 'ruby-rack1xx' 'ruby-rails' 'ruby-rails-aio' 'ruby-rails2xx' 'ruby-rails2xx-aio')
16 source=(http://rubygems.org/downloads/activeresource-${pkgver}.gem
17 http://rubygems.org/downloads/actionmailer-${pkgver}.gem
18 http://rubygems.org/downloads/actionpack-${pkgver}.gem
19 http://rubygems.org/downloads/activerecord-${pkgver}.gem
20 http://rubygems.org/downloads/activesupport-${pkgver}.gem
21 http://rubygems.org/downloads/rack-${_rack_pkgver}.gem
22 http://rubygems.org/downloads/rails-${pkgver}.gem
25 noextract=(activeresource-${pkgver}.gem
26 actionmailer-${pkgver}.gem
27 actionpack-${pkgver}.gem
28 activerecord-${pkgver}.gem
29 activesupport-${pkgver}.gem
30 rack-${_rack_pkgver}.gem
34 md5sums=('f29d192724ad1e1b3445f573e7c35a98'
35 'b7c5ce36c1f5af30ac6fb34ca7c9237e'
36 '37078d46204342eccf6827f266122b64'
37 '412f03f155bf0704c8ecb211a5d9da16'
38 '2287a8a769cc4ecca94d3c5b867a874c'
39 'f5ff2d6d348f41bb3833847223f792ce'
40 '10177c63d1b943861ccce031cb22c100')
42 _gem_list=(activeresource-${pkgver}
43 actionmailer-${pkgver}
45 activerecord-${pkgver}
46 activesupport-${pkgver}
54 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
55 for _gemname in ${_gem_list[*]}
56 do gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}.gem