updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-rspec-1_1 / PKGBUILD
blobc37e81a5a244e3ffe2b9863afdc4fa64ce8ed6ee
1 # Contributor: Adam Russell <adamlr6+arch@gmail.com>
2 pkgname=ruby-rspec-1_1
3 pkgver=1.1.12
4 pkgrel=1
5 pkgdesc="Behaviour Driven Development for Ruby"
6 arch=('any')
7 url="http://rspec.info/"
8 license=('MIT')
9 depends=('ruby')
10 provides=('ruby-rspec')
11 source=(http://gems.rubyforge.org/gems/rspec-$pkgver.gem)
12 noextract=(rspec-$pkgver.gem)
13 md5sums=('0d3b6d97005546ed216708f580a516b5')
15 build() {
16         cd "${srcdir}"
17         local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
18         gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin/" rspec-$pkgver.gem