updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ruby-minitest / PKGBUILD
blob71882f6c8dc40ea22ee24b5d79b8dbf9a16e323e
1 # Contributor: Emiliano Vavassori <syntaxerrormmm(at)gmail.com>
2 # Maintainer: Emiliano Vavassori <syntaxerrormmm(at)gmail.com>
3 pkgname=ruby-minitest
4 _gemname=minitest
5 pkgver=2.10.1
6 pkgrel=1
7 pkgdesc="Provides a complete suite of testing facilities supporting TDD, BDD, mocking and benchmarking."
8 arch=(any)
9 url="https://github.com/seattlerb/minitest"
10 license=("MIT")
11 depends=('ruby')
12 makedepends=('ruby')
13 source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem)
14 noextract=($_gemname-$pkgver.gem)
15 md5sums=('9b3fa04082fecb429c40b7201c4f3038')
17 package() {
18   cd "$srcdir"
19   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   
21   gem install --ignore-dependencies -i "${pkgdir}${_gemdir}" "${_gemname}-${pkgver}.gem"