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

Tim Meusel bastelfreak at archlinux.org
Sat May 15 21:34:14 UTC 2021


    Date: Saturday, May 15, 2021 @ 21:34:14
  Author: bastelfreak
Revision: 934803

archrelease: copy trunk to community-testing-any

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

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

Copied: ruby27-rake/repos/community-testing-any/PKGBUILD (from rev 934802, ruby27-rake/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-05-15 21:34:14 UTC (rev 934803)
@@ -0,0 +1,24 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=rake
+pkgname=ruby27-$_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=(ruby2.7)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('cecfc63e8cf52f016d001d7ea886be434c4713c8d0af1d5c99b685c0524577239e7199376aed0b2f167e4f67bca1e2572c422b35aecb3aa6af4d9e8d6e2d347d')
+
+package() {
+  local _gemdir="$(ruby-2.7 -e'puts Gem.default_dir')"
+  gem-2.7 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"
+  install -Dm 644 "${pkgdir}${_gemdir}/gems/${_gemname}-${pkgver}/MIT-LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}



More information about the arch-commits mailing list