From dff9cef375d1cdfc3440f0cbe5256fb1c7dcc323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Fri, 24 Aug 2012 02:09:32 -0300 Subject: ruby-bundler: add package to pcr --- pcr/ruby-bundler/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pcr/ruby-bundler/PKGBUILD (limited to 'pcr') diff --git a/pcr/ruby-bundler/PKGBUILD b/pcr/ruby-bundler/PKGBUILD new file mode 100644 index 000000000..a1fb32449 --- /dev/null +++ b/pcr/ruby-bundler/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer (Parabola): Márcio Silva +# Contributor: Alexsandr Pavlov + +pkgname=ruby-bundler +_gemname=${pkgname#ruby-} +pkgver=1.1.5 +pkgrel=1 +pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably." +arch=('any') +url="http://gembundler.com" +license=('MIT') +depends=('ruby' 'rubygems') +source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem) +noextract=(${_gemname}-${pkgver}.gem) +md5sums=('ecced17bc29a761db4ea5ca57b0d8795') + +build() { + cd "${srcdir}" + export HOME=/tmp + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem +} -- cgit v1.2.3-2-g168b