1 # Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
6 pkgdesc="A Ruby Webserver Interface"
8 url="http://rack.rubyforge.org"
10 depends=('ruby' 'rubygems')
11 provides=('ruby-rack')
12 conflicts=('ruby-rack' 'ruby-rack1xx')
13 source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
14 noextract=(${_gemname}-${pkgver}.gem)
15 md5sums=('f5ff2d6d348f41bb3833847223f792ce')
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem