# Contributor: Carlo Landmeter # Maintainer: Natanael Copa pkgname=ruby-actionmailer _gemname=actionmailer pkgver=4.1.8 pkgrel=0 pkgdesc="Email on Rails" url="http://rubygems.org/gems/actionmailer" arch="noarch" license="GPL" depends="ruby ruby-actionpack ruby-actionview ruby-mail" 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="04891f9cbfae2bd1cfb52222364acf1d actionmailer-4.1.8.gem" sha256sums="da902a84004a401a19277191e2b7b37dc15545886fc5acda8c7b56bf366952f4 actionmailer-4.1.8.gem" sha512sums="96516bead9bc76765900fb23155c91468a3b9cb6c9cb1b057e426cbf5140b2d1f427177fb70e1ba6d4ad632e16720e65ed90ab8eacee7403095ab7535908f473 actionmailer-4.1.8.gem"