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

Anatol Pomozov anatolik at archlinux.org
Thu Feb 25 06:10:09 UTC 2021


    Date: Thursday, February 25, 2021 @ 06:10:09
  Author: anatolik
Revision: 872989

archrelease: copy trunk to community-testing-any

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

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

Copied: ruby-rake/repos/community-testing-any/PKGBUILD (from rev 872988, ruby-rake/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-02-25 06:10:09 UTC (rev 872989)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=rake
+pkgname=ruby-$_gemname
+pkgver=13.0.3
+pkgrel=1
+pkgdesc='Make-like build tool implemented in Ruby'
+provides=(rake)
+arch=(any)
+url='https://ruby.github.io/rake/'
+license=(MIT)
+depends=(ruby)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('cecfc63e8cf52f016d001d7ea886be434c4713c8d0af1d5c99b685c0524577239e7199376aed0b2f167e4f67bca1e2572c422b35aecb3aa6af4d9e8d6e2d347d')
+
+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