diff options
author | Márcio Alexandre Silva Delgado <coadde@adinet.com.uy> | 2012-08-24 02:09:32 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@adinet.com.uy> | 2012-08-24 02:09:32 -0300 |
commit | dff9cef375d1cdfc3440f0cbe5256fb1c7dcc323 (patch) | |
tree | f1e4b384f7ad54bc1ef388b8baea27e52f0d6814 /pcr | |
parent | 03fa85cd23177537cafe4d714d953ce7a464c119 (diff) |
ruby-bundler: add package to pcr
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ruby-bundler/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
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 <coadde@lavabit.com> +# Contributor: Alexsandr Pavlov <kidoz at mail dot ru> + +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 +} |