1 # Contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
2 pkgname=ruby1.8-rack-v1.0.1
6 pkgdesc="a modular Ruby webserver interface"
8 url="http://rack.rubyforge.org"
11 makedepends=('rubygems1.8')
12 conflicts=('ruby1.8-rack')
13 provides=('ruby1.8-rack=1.0.1')
14 source=(http://gems.rubyforge.org/gems/rack-$pkgver.gem)
15 noextract=(rack-$pkgver.gem)
19 local _gemdir="$(ruby-1.8 -rubygems -e'puts Gem.default_dir')"
20 gem-1.8 install --ignore-dependencies -i "$pkgdir$_gemdir" ${_realname}-$pkgver.gem
22 md5sums=('22268803c9b8b785ed30fcee5bce3ce7')