[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Fri Jan 22 10:49:22 UTC 2016


    Date: Friday, January 22, 2016 @ 11:49:21
  Author: fyan
Revision: 158551

addpkg: ruby-bundler 1.11.2-1

Added:
  ruby-bundler/
  ruby-bundler/repos/
  ruby-bundler/trunk/
  ruby-bundler/trunk/PKGBUILD

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

Added: ruby-bundler/trunk/PKGBUILD
===================================================================
--- ruby-bundler/trunk/PKGBUILD	                        (rev 0)
+++ ruby-bundler/trunk/PKGBUILD	2016-01-22 10:49:21 UTC (rev 158551)
@@ -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.11.2
+pkgrel=1
+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=('c7aa8ffe0af6e0c75d0dad8dd7749cb8493b834f0ed90830d4843deb61906768')
+
+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"
+}


Property changes on: ruby-bundler/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list