# Maintainer: Natanael Copa _gemname=bundler pkgname=ruby-$_gemname pkgver=1.7.9 pkgrel=0 pkgdesc="Manage an application's gem dependencies" url="http://gembundler.com/" arch="noarch" license="MIT" depends="ruby" depends_dev= makedepends="$depends_dev ruby" install="" subpackages="" source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" _builddir="$srcdir"/$_realname-$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="8b815a1e9460ae43f035c807a21bc93e bundler-1.7.9.gem" sha256sums="9579b8c55f850196ebf6940a10b34ceb54d7670317af9b969abe9f007300a2bd bundler-1.7.9.gem" sha512sums="d9c4880566971c329ae55df6e31434aa10900bea3483bb490f56f238b070e0c7ce6f7b46016213608d202e0251d4eba926b38458805533db906f5ee808058f95 bundler-1.7.9.gem"