# Contributor: Carlo Landmeter # Maintainer: Natanael Copa _gemname=rails pkgname=ruby-rails pkgver=4.0.12 pkgrel=0 pkgdesc="Ruby full-stack web framework" url="http://rubyonrails.org/" arch="noarch" license="MIT" depends="ruby ruby-actionmailer ruby-actionpack 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="8da030a37e29b069d70e966a33886041 rails-4.0.12.gem" sha256sums="96f47a8a2f06df95c78ac3baea02c01eefbd214034a715055f67b193988c4aec rails-4.0.12.gem" sha512sums="d716541a06be78ff7769db0b98e4298862d7da37d0d3bfb0c2b5661782b3fff3d1571f5a2efe95b19bf7840eb3601c9b9be747f004726ec375f5d57563c69b38 rails-4.0.12.gem"