# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=ruby-actionpack _gemname=actionpack pkgver=4.2.0 pkgrel=0 pkgdesc="Eases web-request routing, handling, and response as a half-way front, half-way page controller" url="http://rubygems.org/gems/actionpack" arch="noarch" license="GPL" depends="ruby ruby-actionview ruby-activesupport ruby-rack ruby-rack-test ruby-rails-dom-testing ruby-rails-html-sanitizer" 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="7cf97350719b6762117d1e2ba118a83e actionpack-4.2.0.gem" sha256sums="fa170f2a391c984691f2687789917f870dcfbf7d26b785f6b11abc2f833e37e0 actionpack-4.2.0.gem" sha512sums="069c435bc28a83fa00b662c06d7873092faafc878f2ebc4477bc164a02f7a68912eba7f26f503ef4d0b7b746923e2b7a6eec79248e53a21fbcc7420dad54df86 actionpack-4.2.0.gem"