Date: Sunday, January 24, 2021 @ 19:50:17
  Author: anatolik
Revision: 829019

archrelease: copy trunk to community-testing-any

Added:
  ruby-rdoc/repos/community-testing-any/
  ruby-rdoc/repos/community-testing-any/PKGBUILD
    (from rev 829018, ruby-rdoc/trunk/PKGBUILD)

----------+
 PKGBUILD |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Copied: ruby-rdoc/repos/community-testing-any/PKGBUILD (from rev 829018, 
ruby-rdoc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2021-01-24 19:50:17 UTC (rev 829019)
@@ -0,0 +1,21 @@
+# Maintainer: Anatol Pomozov <[email protected]>
+
+_gemname=rdoc
+pkgname=ruby-$_gemname
+pkgver=6.3.0
+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=('70ddb8bf3540cf0341a1aaec60b959fc12b82f92')
+
+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"
+}

Reply via email to