1 # Contributor: Gigamo <gigamo@gmail.com>
2 # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
4 _gemname=${pkgname#ruby-}
7 pkgdesc="A scripting framework that replaces rake, sake and rubigen."
9 url="http://github.com/wycats/thor"
11 depends=('ruby' 'rubygems')
12 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
13 noextract=(${_gemname}-${pkgver}.gem)
14 md5sums=('d52dcc3cc08a2e6443bba665c2123a59')
19 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem