# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen _gemname=actionview pkgname=ruby-$_gemname pkgver=4.2.0 pkgrel=0 pkgdesc="Simple, battle-tested conventions and helpers for building web pages" url=http://rubyonrails.org/ arch=noarch license=MIT depends="ruby ruby-activesupport ruby-builder ruby-erubis ruby-rails-dom-testing ruby-rails-html-sanitizer" makedepends=ruby 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="cb978857e9a6e7fd09dd0331bf50def0 actionview-4.2.0.gem" sha256sums="b4cb6f3ed721b2c8e32d2f86f2a6a04a954cba93f3b519800b213aff07bfcbb4 actionview-4.2.0.gem" sha512sums="184819abe2a07d7bb33b6e0c6beb9837a5eef57532ee224cd42b12d8831ea2d4c58da2af59b5633bc13b8ee933515a0b643e90e87d736daff3ca7faa2ca982da actionview-4.2.0.gem"