# Contributor: Carlo Landmeter # Maintainer: _gemname=yard pkgname=ruby-yard pkgver=0.8.5.2 pkgrel=1 pkgdesc="A documentation generation tool for Ruby" url="http://yardoc.org" arch="noarch" license="MIT" depends="ruby" depends_dev="" makedepends="ruby-dev" install="" subpackages="" source="http://rubygems.org/downloads/$_gemname-$pkgver.gem" _builddir="$srcdir"/$_gemname-$pkgver build() { mkdir -p "$_builddir" || return 1 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \ --ignore-dependencies \ --verbose \ --no-rdoc \ --no-ri \ || return 1 rm -rf "$pkgdir"/$_gemdir/cache \ "$pkgdir"/$_geminstdir/ext \ "$pkgdir"/$_geminstdir/.require_paths } package() { mkdir -p "$pkgdir" || return 1 cp -ra "$_builddir"/* "$pkgdir"/ || return 1 } md5sums="3dd47e06fb17c7b7de88eb02bfbfb57b yard-0.8.5.2.gem" sha256sums="6c69c6e488df57d268a8ad406420a28217286a531e15788ae08bbd5266d42a5f yard-0.8.5.2.gem" sha512sums="a166971827b6692035dabb0e8f69b442e664403af79fc56f48184088f0ca5f1b198d0d81d4eb25042151968ef5f493b8146ab4e933700a8649c69cff99cbb649 yard-0.8.5.2.gem"