updated on Tue Jan 17 08:05:08 UTC 2012
[aur-mirror.git] / ruby-rspec-mocks / PKGBUILD
blobfe3d463d3bda4754aa828443b781704b74b1b9bf
1 # Contributor: Adam Russell <adamlr6+arch@gmail.com>
2 # Maintainer: eagletmt <eagletmt@gmail.com>
3 pkgname=ruby-rspec-mocks
4 _realname=rspec-mocks
5 pkgver=2.8.0
6 pkgrel=1
7 pkgdesc="RSpec's 'test double' framework, with support for stubbing and mocking"
8 arch=("any")
9 url='http://github.com/rspec/rspec-mocks'
10 license=("MIT")
11 depends=("ruby")
12 makedepends=('rubygems')
13 source=(http://rubygems.org/downloads/$_realname-$pkgver.gem)
14 noextract=($_realname-$pkgver.gem)
16 build() {
17   cd "$srcdir"
18   local _gemdir="$(ruby -rubygems -e 'puts Gem.default_dir')"
19   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $_realname-$pkgver.gem
22 # vim:set ts=2 sw=2 et:
23 md5sums=('799cf162a36b247cf7ca9ee77fcc6ef3')