Date: Monday, May 21, 2018 @ 16:52:13 Author: anatolik Revision: 326358
archrelease: copy trunk to community-testing-any Added: ruby-rdoc/repos/community-testing-any/ ruby-rdoc/repos/community-testing-any/PKGBUILD (from rev 326357, ruby-rdoc/trunk/PKGBUILD) ----------+ PKGBUILD | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) Copied: ruby-rdoc/repos/community-testing-any/PKGBUILD (from rev 326357, ruby-rdoc/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-05-21 16:52:13 UTC (rev 326358) @@ -0,0 +1,21 @@ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +_gemname=rdoc +pkgname=ruby-$_gemname +pkgver=6.0.4 +pkgrel=1 +pkgdesc='Command-line documentation generator for Ruby projects' +arch=(any) +url='https://ruby.github.io/rdoc/' +license=(MIT) +depends=(ruby) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha1sums=('d56c08def2a0fa9b558288106658927003b4080f') + +package() { + local _gemdir="$(ruby -e'puts Gem.default_dir')" + gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem + rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem" +}