summaryrefslogtreecommitdiff
path: root/pcr/ruby-bundler/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-06 13:37:54 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-11-06 13:37:54 -0300
commita48d075b90120462b9f97ab95a224d47e072f7dd (patch)
tree8ba729381a11d91f09b298d888636425c549498b /pcr/ruby-bundler/PKGBUILD
parent4ce84837520f8c56ae998d5d2d98380faf3e3eb5 (diff)
parent8ab3c2d0517cb4db3ab2f7635d0b71b701e464ba (diff)
downloadabslibre-a48d075b90120462b9f97ab95a224d47e072f7dd.tar.gz
abslibre-a48d075b90120462b9f97ab95a224d47e072f7dd.tar.bz2
abslibre-a48d075b90120462b9f97ab95a224d47e072f7dd.zip
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/ruby-bundler/PKGBUILD')
-rw-r--r--pcr/ruby-bundler/PKGBUILD22
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
+}