[arch-commits] Commit in ruby-rdoc/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Sun May 2 20:18:54 UTC 2021


    Date: Sunday, May 2, 2021 @ 20:18:53
  Author: anatolik
Revision: 926190

archrelease: copy trunk to community-testing-any

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

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

Copied: ruby-rdoc/repos/community-testing-any/PKGBUILD (from rev 926189, ruby-rdoc/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-05-02 20:18:53 UTC (rev 926190)
@@ -0,0 +1,21 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=rdoc
+pkgname=ruby-$_gemname
+pkgver=6.3.1
+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=('f5ff4a29930d158134624c48b28c29cd40e6e7c5')
+
+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"
+}



More information about the arch-commits mailing list