# Contributor: Carlo Landmeter # Maintainer: Natanael Copa _gemname=rails pkgname=ruby-rails pkgver=4.2.0 pkgrel=0 pkgdesc="Ruby full-stack web framework" url="http://rubyonrails.org/" arch="noarch" license="MIT" depends="ruby ruby-actionmailer ruby-actionpack ruby-actionview ruby-activejob ruby-activemodel ruby-activerecord ruby-activesupport ruby-bundler ruby-railties ruby-sprockets-rails" 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="337592a669294ebab880c6df2e01f37b rails-4.2.0.gem" sha256sums="d394a78b2237145fffff3b7556ae64006139a7d1c04bc66b0bd39bbd5e4d3088 rails-4.2.0.gem" sha512sums="a1f7ed0c37f4960f81ff01b410454ee52512cb4fb98e19532360136b92aab61bd1f14107e935d5aad13859052ba6ce2f3bafae21e32f625079e56f55446d00c7 rails-4.2.0.gem"