blob: a1fb32449e13ca4373084b88598947d491f8dd98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}
|