updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby1.8-rack-v1.0.1 / PKGBUILD
blobe42087ee24bd5bfea6d33c92fdc461bbb39c1e49
1 # Contributor: Blaž Tomažič <blaz.tomazic@gmail.com>
2 pkgname=ruby1.8-rack-v1.0.1
3 pkgver=1.0.1
4 _realname="rack"
5 pkgrel=5
6 pkgdesc="a modular Ruby webserver interface"
7 arch=(any)
8 url="http://rack.rubyforge.org"
9 license=("GPL")m
10 depends=('ruby1.8')
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)
17 build() {
18   cd $srcdir
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')