1 # Contributor: Emiliano Vavassori <syntaxerrormmm@gmail.com>
2 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
4 _gemname=${pkgname#ruby-}
7 pkgdesc="Handle emails generation, parsing and sending in a simple, rubyesque manner"
9 url="http://github.com/mikel/mail"
11 depends=('ruby' 'rubygems' 'ruby-i18n' 'ruby-mime-types' 'ruby-treetop')
12 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
13 noextract=(${_gemname}-${pkgver}.gem)
14 md5sums=('da4561f0362889f20e38049e8a132e54')
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${_gemname}-${pkgver}.gem