[arch-commits] Commit in ruby-rdoc/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 26 00:16:25 UTC 2019
Date: Thursday, December 26, 2019 @ 00:16:17
Author: felixonmars
Revision: 541545
archrelease: copy trunk to community-staging-any
Added:
ruby-rdoc/repos/community-staging-any/
ruby-rdoc/repos/community-staging-any/PKGBUILD
(from rev 541544, ruby-rdoc/trunk/PKGBUILD)
----------+
PKGBUILD | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
Copied: ruby-rdoc/repos/community-staging-any/PKGBUILD (from rev 541544, ruby-rdoc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-26 00:16:17 UTC (rev 541545)
@@ -0,0 +1,21 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=rdoc
+pkgname=ruby-$_gemname
+pkgver=6.2.0
+pkgrel=2
+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=('e784ebb042df11202de671a3d1aaa811d31e028f')
+
+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