[arch-commits] Commit in ruby-rake/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Dec 25 22:29:58 UTC 2019
Date: Wednesday, December 25, 2019 @ 22:29:58
Author: foutrelis
Revision: 541337
archrelease: copy trunk to community-staging-any
Added:
ruby-rake/repos/community-staging-any/
ruby-rake/repos/community-staging-any/PKGBUILD
(from rev 541336, ruby-rake/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: ruby-rake/repos/community-staging-any/PKGBUILD (from rev 541336, ruby-rake/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-12-25 22:29:58 UTC (rev 541337)
@@ -0,0 +1,22 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+_gemname=rake
+pkgname=ruby-$_gemname
+pkgver=13.0.0
+pkgrel=2
+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)
+sha1sums=('476a76a88f0263ba99333a690b6247273009082e')
+
+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