summaryrefslogtreecommitdiff
path: root/community/rubinius/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/rubinius/PKGBUILD')
-rw-r--r--community/rubinius/PKGBUILD30
1 files changed, 7 insertions, 23 deletions
diff --git a/community/rubinius/PKGBUILD b/community/rubinius/PKGBUILD
index e51cf9e29..a2494068f 100644
--- a/community/rubinius/PKGBUILD
+++ b/community/rubinius/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 98780 2013-10-18 13:13:13Z heftig $
+# $Id: PKGBUILD 98826 2013-10-19 20:58:03Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=rubinius
pkgname=(rubinius rubinius-ruby)
-pkgver=2.1.0
+pkgver=2.1.1
pkgrel=1
pkgdesc="Ruby runtime written in Ruby, designed for concurrency"
arch=(i686 x86_64)
@@ -12,36 +12,20 @@ license=(custom)
depends=(llvm-libs libffi openssl libyaml)
makedepends=(llvm ruby chrpath)
options=(!emptydirs)
-
-_gems=(bundler-1.3.5.gem
- daedalus-core-0.0.1.gem
- gems-0.8.3.gem
- redcard-1.1.0.gem
- rubinius-bridge-1.0.3.gem)
-
source=(http://releases.rubini.us/${pkgbase}-${pkgver}.tar.bz2
+ http://rubygems.org/downloads/bundler-1.3.5.gem
gemrc)
-
-for _i in "${_gems[@]}"; do
- source+=( http://rubygems.org/downloads/${_i} )
-done
-
-sha256sums=('78d7c2af7ebdf9b477a682cf4793e56e4139abed3cd752282e422d56e63b65b6'
- '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614'
+sha256sums=('e142c3f201e4ae9f3a6e6671298baabbd9bd906509c663adcf080bff4181ee96'
'08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4'
- 'baa2a27713fac17ca21bc2515a227cde4b10aa1a01e1365e1ee5372c72816ff0'
- '2bcf69bb8fb90dd1f926fb7d8f2d8c9857540e04385ac742999a05c74fe24a05'
- '60c73d440f29fc3577eec86de00d55ee5351647d2d450ea48bc6d2ae5a62b8fc'
- '246ba09a6506e1c380acccc0e3058e83fec89904572d3214f797ccb604453981')
+ '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614')
prepare() {
export GEM_HOME="$srcdir/gemdir"
+ cd $pkgbase-$pkgver
mkdir -p "$GEM_HOME"
- gem install --no-user-install -N bundler-1.3.5.gem
- cp -n "${_gems[@]}" $pkgbase-$pkgver/vendor/cache
+ gem install --no-user-install -N ../bundler-1.3.5.gem
- cd $pkgbase-$pkgver
"$GEM_HOME/bin/bundle" install --local
}