updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ruby-rspec-core / PKGBUILD
blob71422e12e1e6e39d33f7e45dadaa930be715f133
1 # Maintainer: Adam Russell <adamlr6+arch@gmail.com>
2 pkgname=ruby-rspec-core
3 pkgver=2.6.4
4 pkgrel=1
5 pkgdesc="RSpec runner and example groups"
6 arch=('any')
7 url="http://rubygems.org/gems/rspec-core"
8 license=('MIT')
9 depends=('ruby')
10 source=(http://gems.rubyforge.org/gems/rspec-core-$pkgver.gem)
11 noextract=(rspec-core-$pkgver.gem)
12 md5sums=('89f85770f34f6b764383ad987d230905')
14 build() {
15         cd "${srcdir}"
16         local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
17         gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin/" rspec-core-$pkgver.gem