summaryrefslogtreecommitdiff
path: root/pcr/ruby-bundler/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ruby-bundler/PKGBUILD')
-rw-r--r--pcr/ruby-bundler/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/pcr/ruby-bundler/PKGBUILD b/pcr/ruby-bundler/PKGBUILD
new file mode 100644
index 000000000..44a1a883b
--- /dev/null
+++ b/pcr/ruby-bundler/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+_pkgname=bundler
+pkgname=ruby-$_pkgname
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably."
+arch=any
+url=http://gem$_pkgname.com
+license=MIT
+depends=ruby
+source=http://rubygems.org/downloads/$_pkgname-$pkgver.gem
+noextract=$_pkgname-$pkgver.gem
+sha256sums=08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4
+
+package() {
+ cd $srcdir
+
+ local _gemdir=$(ruby -rubygems -e'puts Gem.default_dir')
+ HOME=/tmp gem install --no-user-install --ignore-dependencies\
+ -i $pkgdir$_gemdir -n $pkgdir/usr/bin\
+ $_pkgname-$pkgver.gem
+}