# Maintainer: Natanael Copa pkgname=ruby-activemodel _gemname=activemodel pkgver=4.2.0 pkgrel=0 pkgdesc="A toolkit for building modeling frameworks" url="http://rubygems.org/gems/activemodel" arch="noarch" license="GPL" depends="ruby ruby-activesupport ruby-builder" depends_dev= makedepends="$depends_dev ruby" install="" subpackages="" source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" _builddir="$srcdir"/$_realname-$pkgver 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="1358e4978450a1d345f341921ab16671 activemodel-4.2.0.gem" sha256sums="994e09e34ea804afe4096a43965aa2d34f324123b815abb058928ef23270a0d9 activemodel-4.2.0.gem" sha512sums="770d4326f0286592b02f43bf7dbb9efbffc1469ed33fee741979e20efd52640f409e12686a5c1dc117dff0a86d17ba21e6e0450d2c968d85ba1c57e8ff92e9bb activemodel-4.2.0.gem"