Date: Thursday, December 27, 2018 @ 04:48:08
  Author: felixonmars
Revision: 418264

archrelease: copy trunk to community-staging-any

Added:
  ruby-bundler/repos/community-staging-any/
  ruby-bundler/repos/community-staging-any/PKGBUILD
    (from rev 418262, ruby-bundler/trunk/PKGBUILD)

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

Copied: ruby-bundler/repos/community-staging-any/PKGBUILD (from rev 418262, 
ruby-bundler/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2018-12-27 04:48:08 UTC (rev 418264)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Jonne Haß <m...@jhass.eu>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.carti...@free.fr>
+# Contributor: Anatol Pomozov <anatol.pomo...@gmail.com>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+pkgname=ruby-bundler
+_gemname=${pkgname#ruby-}
+pkgver=1.17.1
+pkgrel=2
+pkgdesc="Manages an application's dependencies through its entire life, across 
many machines, systematically and repeatably."
+arch=('any')
+url='http://bundler.io'
+license=('MIT')
+depends=('ruby')
+makedepends=('ruby-rdoc')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem";)
+noextract=("$_gemname-$pkgver.gem")
+sha512sums=('6adf044096b7716c8b0dae5f559506c65dcb8fd8a8a57428ac25331ca3a85b7cb399fb40b79aeccb0908d172686df9213b86f69286c3e383373ff5ee6f3b414d')
+
+package() {
+  cd "$srcdir"
+
+  local _gemdir="$(ruby -e'puts Gem.default_dir')"
+  HOME="/tmp" GEM_HOME="$_gemdir" GEM_PATH="$_gemdir" gem install 
--no-user-install --ignore-dependencies \
+     -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem"
+  rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+  install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.md" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}

Reply via email to