updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / ruby-mail22x / PKGBUILD
blob64819da0155c282636576ba75248706bfb56cbe2
1 # Contributor: Emiliano Vavassori <syntaxerrormmm@gmail.com>
2 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
3 pkgname=ruby-mail22x
4 gemname=mail
5 pkgver=2.2.19
6 pkgrel=1
7 pkgdesc="Handle emails generation, parsing and sending in a simple, rubyesque manner"
8 arch=('any')
9 url="http://github.com/mikel/mail"
10 license=('MIT')
11 depends=('ruby' 'ruby-i18n>=0.4.0' 'ruby-treetop>=1.4.8' 'ruby-mime-types>=1.16' 'ruby-activesupport>=2.3.6')
12 makedepends=('rubygems')
13 source=(http://rubygems.org/downloads/${gemname}-${pkgver}.gem)
14 noextract=(${gemname}-${pkgver}.gem)
15 md5sums=('cc75d08765e10eec3adfa7d5a790dec3')
17 build() {
18   cd "${srcdir}"
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   
21   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${gemname}-${pkgver}.gem