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

Evangelos Foutras foutrelis at archlinux.org
Mon Jan 9 18:03:10 UTC 2017


    Date: Monday, January 9, 2017 @ 18:03:09
  Author: foutrelis
Revision: 206191

archrelease: copy trunk to community-staging-any

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

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

Copied: ruby-bundler/repos/community-staging-any/PKGBUILD (from rev 206190, ruby-bundler/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-01-09 18:03:09 UTC (rev 206191)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonne Haß <me at jhass.eu>
+# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux at free.fr>
+# Contributor: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+
+pkgname=ruby-bundler
+_gemname=${pkgname#ruby-}
+pkgver=1.13.7
+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')
+options=('!emptydirs')
+source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem")
+noextract=("$_gemname-$pkgver.gem")
+sha256sums=('a9f0c8c5cf977cadce77e6185695d4a0b956a73569a5634b15b34cc07fdb7bab')
+
+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"
+}



More information about the arch-commits mailing list