updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / ruby1.8-thin / PKGBUILD
blobdb76dc61ab489e3283a289020705f0dfa891e101
1 # Contributor: Jacek Roszkowski <j.roszk@gmail.com>
2 pkgname=ruby1.8-thin
3 pkgver=1.2.5
4 _realname="thin"
5 pkgrel=1
6 pkgdesc="A thin and fast web server"
7 arch=(any)
8 url="http://code.macournoyer.com/thin/"
9 license=("GPL")
10 depends=('ruby1.8' 'ruby1.8-rack>=1.0.0' 'ruby1.8-eventmachine>=0.12.6' 'ruby1.8-daemons>=1.0.9')
11 source=(http://gems.rubyforge.org/gems/thin-$pkgver.gem)
12 noextract=(thin-$pkgver.gem)
14 build() {
15   cd $srcdir
16   local _gemdir="$(ruby-1.8 -rubygems -e'puts Gem.default_dir')"
17   gem-1.8 install --ignore-dependencies -i "$pkgdir$_gemdir" ${_realname}-$pkgver.gem
19 md5sums=('f3bf0b123fd0737794d55f0e14eb28e1')