1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
3 _gemname=${pkgname#ruby-}
6 pkgdesc="Is an implementation of eRuby."
8 url="http://www.kuwata-lab.com/erubis"
10 depends=('ruby' 'rubygems')
11 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
12 noextract=(${_gemname}-${pkgver}.gem)
13 md5sums=('cca3cf13ef951d1fc8c124d2fde52565')
18 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
19 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem