diff options
author | root <root@rshg054.dnsready.net> | 2012-08-25 00:02:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-25 00:02:57 +0000 |
commit | 29896582b8f0f163c9b880fa64ee948d470ef5ba (patch) | |
tree | 54d918c561c83d78e4d07f94774f7f10640cafa9 /pcr/ruby-bundler | |
parent | 12b846e1ead204137d60caba25f7e494b51b4dc8 (diff) |
Sat Aug 25 00:02:57 UTC 2012
Diffstat (limited to 'pcr/ruby-bundler')
-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 +} |