# Maintainer: Natanael Copa pkgname=ruby-activemodel4.2 _gemname=activemodel pkgver=4.2.5.2 pkgrel=0 pkgdesc="A toolkit for building modeling frameworks" url="http://rubygems.org/gems/activemodel" arch="noarch" license="GPL" depends="ruby ruby-activesupport4.2 ruby-builder" depends_dev= makedepends="$depends_dev ruby" install="" subpackages="" source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" build() { return 0 } package() { local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" local _geminstdir=$_gemdir/gems/$_gemname-$pkgver mkdir -p "$pkgdir" || return 1 gem install --local --install-dir "$pkgdir"/$_gemdir \ --ignore-dependencies --verbose --no-rdoc --no-ri \ "$srcdir"/$_gemname-$pkgver.gem || return 1 rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths } md5sums="043161de06a47b0b9db2f52625692b36 activemodel-4.2.5.2.gem" sha256sums="09ce967be3086b34ae9fcbd919e714b2bdf72b8ab6e89b64aa74627267d93962 activemodel-4.2.5.2.gem" sha512sums="24767707fd56226c8b4caa0154b10c39fd7442aeab5e5b3ee8968abc1f8dbb436ac0f1d23547a64dfa96229aa65c2420aabeb0b7a3368589488b9bb491e88c84 activemodel-4.2.5.2.gem"