# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen _gemname=minitest pkgname=ruby-rails-$_gemname pkgver=5.5.0 pkgrel=0 pkgdesc="Ruby testing facilities" url=https://github.com/seattlerb/minitest arch=noarch license=MIT depends=ruby makedepends=ruby source=http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem _builddir="$srcdir"/$_gemname-$pkgver build() { return 0 } package() { local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" local _geminstdir=$_gemdir/gems/$_gemname-$pkgver mkdir -p "$pkgdir" || return 1 gem install --local --install-dir "$pkgdir"/$_gemdir \ --ignore-dependencies --verbose --no-rdoc --no-ri \ "$srcdir"/$_gemname-$pkgver.gem || return 1 rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths } md5sums="bad5ff867adeb72b29d4eda3f0fcc75c minitest-5.5.0.gem" sha256sums="0277c07738303b7184410a561cafb0252c66cb28f3784ea17e5640876811f8cf minitest-5.5.0.gem" sha512sums="fca7b6a01694a6bae3ce91a5c1eaae2bed9edf9c7bcfd0e923511005b333085c0dcbc0754369f8dd329814441275d51b70934782c16b46e55807d11f6a745831 minitest-5.5.0.gem"