1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
2 pkgname=ruby-activerecord
3 _gemname=${pkgname#ruby-}
6 pkgdesc="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM."
8 url="http://www.rubyonrails.org"
10 depends=('ruby' 'rubygems' 'ruby-activemodel' 'ruby-arel' 'ruby-activesupport' 'ruby-tzinfo')
11 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
12 noextract=(${_gemname}-${pkgver}.gem)
13 md5sums=('4d52ce007123eeb5dcb3905bb938c170')
18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem