summaryrefslogtreecommitdiff
path: root/pcr/ruby-bundler
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /pcr/ruby-bundler
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/ruby-bundler')
-rw-r--r--pcr/ruby-bundler/PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/pcr/ruby-bundler/PKGBUILD b/pcr/ruby-bundler/PKGBUILD
index a1fb32449..44a1a883b 100644
--- a/pcr/ruby-bundler/PKGBUILD
+++ b/pcr/ruby-bundler/PKGBUILD
@@ -1,22 +1,24 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-pkgname=ruby-bundler
-_gemname=${pkgname#ruby-}
-pkgver=1.1.5
+_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://gembundler.com"
-license=('MIT')
-depends=('ruby' 'rubygems')
-source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
-noextract=(${_gemname}-${pkgver}.gem)
-md5sums=('ecced17bc29a761db4ea5ca57b0d8795')
+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
-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
+ 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
}